I'm doing a SUBST on a string from a position where the character is space like this:
eval str1 = %subst(str1:(wpos1+3))
Let us assume that the string is of 15 length and the string in this str1 as 'SURESH '. The value in wpos1 as '7' .
Now if we try to extract the spaces according to the expression, is there a possibility of getting an error? If it results in error what is the error code and could you please help me.
Thanks in advance.
iseries or as400 v7r1
May 6, 2013 4:36 AM
May 6, 2013 11:54 AM