General information
Category:
Reports & Report designer
>>noxspaces = strtran(str2bclean,space(2),"") &&remove blanks more than one space
>This will convert "test 1 2" to "test 12"
>which I don't think is the desired effect.
It'll only strip 2 spaces as a pair. I wrote it that way because it's easier to read than quote-space-space-quote, especially considering how UT strips duplicate spaces itself.
Actually, if there are two space between words, this code will leave NO spaces, running the words together. That would be bad.
Disregard this routine, it won't do what it's supposed to do.
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