Substring (String str, Integer startAt)
Last updated
Last updated
© Copyright 2023, Astera Software
Name | Substring |
Applicable To (DataType) | String |
Purpose | To retrieve the characters from a specified string. |
Description | Gets all the characters from the specified string beginning with startAt position. |
Return Type | String |
Syntax | str [System.String] – string whose part will be returned. |
startAt [System.Int64] – start position of the string to return. |
In this example, we are passing the required parameters to the function transformation through a Variables object.
Where,
str = ABCDEF
startAt = 2
Right-click on the function transformation object and select Preview Output. You can see that it has returned the string value after second position.