String - Mid

Creates a new string by copying a specific number of characters starting from a specific position in an existing string.

Action ID:
Action Category:
Action List Syntax:

24
String
<<VARIABLE>>
= String.Mid (<<SOURCESTRING>>, <<STARTAT>>, <NUMCHAR>>)

Settings

Store result in variable:

The variable that the result will be stored in. The result will be a new string made up of characters copied from the source string.

Source string:

The string to copy the characters from.

Start at position:

The zero-based character position to start copying characters from.

If the position is not valid (for example, if it starts after the end of the string), an empty string ("") will be stored in the variable instead.

Number of characters:

The number of characters to copy.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

Examples

None