Utility Functions : List of Utility Functions : stm_string_extract

stm_string_extract

Function type: STRING

Description
Extracts a portion of the specified string. The extracted portion starts at the index position and its length is len.
Syntax
stm_string_extract (string, index, len, status)
Arguments
 
The number of characters to extract from the string

 

Status Codes
Example
stm_string_extract (’ABCDE’,0,2,status) = ’AB’
stm_string_extract (’ABCDE’,3,2,status) = ’DE’
stm_string_extract (’ABCDE’,0,7,status) = ’’
and status = stm_illegal_len