Skip to Content
0
Former Member
Jan 02, 2008 at 09:39 AM

How to replace all spaces in a field( type string) with a character?

146 Views

Hi guys need ur help on this. i use:

v_tdline type string,

....

.....

REPLACE ALL OCCURRENCES OF space IN v_tdline WITH 'a'.

but i get a short dump stating: cant replace ' ' because ' ' has length 0 ang will have endless loop.

help. urgent.