-
Notifications
You must be signed in to change notification settings - Fork 2
_strext
bergsma edited this page Sep 26, 2014
·
3 revisions
#strext
###Extract a sub-string from a string.
Syntax
substring = strext ( string,offset,length ) ;
Arguments
- str string
The source string.
- int offset
The offset in string where the sub-string starts.
- int length
The length of the substring.
Return Value
str substring
- substring : The extracted substring.
The STATUS variable is set to $ACKNOWLEDGE
Warnings
-
%BOUNDS: Invalid offset specified in strext. A null string is returned.
-
%BOUNDS: Invalid length specified in strext. A null string is returned.
Exceptions
- %ARGUMENT: Invalid arguments. Usage: substring = strext ( string,offset,length ) ;
Description
- None
Examples
puts "Create an example for the function 'strext'" ;
Related Links
None