General information
Category:
Coding, syntax & commands
>How do I strip out extra spaces and carriage returns and line feeds from character strings that are in memo fields?
BUGFIX:
Here's a non-API method for those annoying double carriage returns:
* First, get rid of line feeds:
myString=chrTran(MyString,chr(10),"")
* Now, iteratively remove all double carriage returns.
dblCR=chr(13)+chr(13)
Do While dblCR $ myString
myString=StrTran(myString, dblCr, chr(13))
***** Prior posting used ChrTran in previous command. Wrong.
EndDo
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