The StringBuffer class / base.StringBuffer methods |
Return the substring at the specified position.
subString( start INTEGER, end INTEGER ) RETURNING result STRING
The subString() method returns the substring defined by the start and end positions passed as parameter.
The first character is at position 1.
CALL buf.append("abcdefg") DISPLAY buf.subString(2,5) -- Shows bcde