General information
Category:
Coding, syntax & commands
Use STRTRAN(charexpr,' ',' ')
That is replace double spaces with a single space. This may need to be run several times because on the first iteration four spaces becomes two. On the next iteration the two spaces left become one.
>Is there any VFP routines that can remove (or replace) multiple space occurances in the middle of a string?
>
>I am processing data from another source. The NAME comes across as:
>
>FirstNameLastName
>
>I'd like to strip out the multiple spaces and leave it with just one space.
Previous
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