SubStr(str, num_pos, num_len);
str
num_pos
A number specifying the first position of sub-string in the string. The index is 1-based, i.e. the first position of the input string has number 1.num_len
A number specifying the length of sub-string in the string. If this number is not specified, the end of the sub-string is set to the end of the input string.Returns a sub-string of the input string. Equivalent to $var1(num_1 [,num_2]) where $var is a string variable.$a="Intelligent Output Management";
$b=substr($a,13);
$c=$a(13);
$d=substr($a,13,6);$b="Output Management"
$c="Output Management"
$d="Output"
$a(13,6) //also returns "Output"
OpenText StreamServe 5.6 | Updated: 2013-03-01 |