HI
How to find the Length of the string in RPG3...
Is there any opcodes to find the lenght of the String??
How to find the Length of the string in RPG3...
Is there any opcodes to find the lenght of the String??
length = %len(%trim(Mystring));
C/EXEC SQL Set :MyLen = Length(Trim(:MyVar)) C/END-EXEC
Comment