b = CHRTRAN(a, " ", "")
CHRTRAN is MUCH faster than STRTRAN (as it should be since it's looking for characters not strings). SPACE(1) is slower than " ", and SPACE(0) also (and useless also!).
Vlad
>How could I remove spaces in between a string.
>Eg. a="ABC DEF GHI JKL"
>I would like the result to be "ABCDEFGHIJKL", removing all spaces in
>between.
>Pls advice, thank you.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only