chenna.deepa
27th May 2008, 09:27
Hi all,


i want to fetch right side characters in a string ...like substring() in java
to retrieve only part of a string that too from right side..

which function to use for this
plese help in this regard

thanks in advance
deepa

george7a
27th May 2008, 09:40
Hi,

Lets say "abcdef" is your string and saved in "tmp_str"

tmp_str(3) will result "cdef" (from the third character and on)

You can use the ";" to specify how many characters to take as in the following example:

tmp_str(3;2) will result "cd" (take two characters starting from the third)

I hope it helps,

- George