String
The value derived from the function is a string.
This table shows the commands and the related syntax used for the String
data type.
Command | Syntax | Examples |
---|---|---|
The |
Starting position (integer): Determines the position from where the substring starts. Length(integer): determines the number of subsequent characters that must be included in the substring. Length does not required to be specified. If length is not specified, the remaining characters initiating from the Starting position are returned. |
|
The |
|
Can be used in combination with the previous command to remove some characters at the end of a string:
The command returns the entire string that has been read, except the last three characters.
|
The |
Filter: A string that determines the layout of the conversion to string. Filter is optional. |
These functions can be used in expressions to read in a string representation of an integer value that is required to be manipulated.
This considers the value of the input, add one (1), and convert the value
into a string.
This would take the value of the input and turn it into a string with a specific layout. |
The |
This function can consider 25 parameters which results to 12 couples
The function is interpreted as follows:
|
This returns A if the value read in is 1, B if the value read in is 2 and C in all other cases (as C is the default). |