Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing extra spaces in MIDDLE of str.
Message
 
 
To
25/07/2001 22:32:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535205
Message ID:
00535500
Views:
16
>>you should reduce spaces to just one space.
>>
>>Actually, I have an application written, where I dealt with lots of different name formats to transform them into our standard. It was quite complicated algorithm...
>
>
>Oh, I see. But if I keep (and I do) FirstName in one field and LastName in another I will build the result string like this:
>abc = ALLTRIM(FirstName) + ' ' + ALLTRIM(LastName)
>
>Mark

He-he. You want to make it simpler, than it is ) Anyway, my point is, that there is a function, which could be used, and we don't need to create our own algorithm, since it already exists. I think, most of us would still create our own algorithm instead... :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform