Substring notation can be applied to any variable. The format is:
&varname(pp,nn)
where &varname is the variable name, pp is the starting position (ranging from 1 to the number of characters in the string) and nn is the number of characters to be used.
Example
The following substring notation retrieves the first three digits of the value of &USERID:
&USERID(1,3)
|
Copyright © 2013 CA.
All rights reserved.
|
|