Help with string

YZARATE

Member
Hi i have a problem with some description in a DB progress some strings input with blank space between description, because when i send a report the description skip 1 row for this problem.

i want correct this problem but i dont have any idea.


i hope some 1 give a solution or tell how make this changes

Thanks all.
 

davidvilla

Member
DEF VAR mystring AS CHARACTER NO-UNDO.
mystring = "abc def".

mystring = REPLACE(mystring," ","").


DISPLAY mystring.



This will remove the space in between the words.
The output will be "abcdef".
 
Top