Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN and spaces
Message
From
26/08/2008 16:40:03
 
 
To
26/08/2008 16:15:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01341979
Message ID:
01341991
Views:
10
>This is supposed to replace 2 spaces with 1, but it removes all the spaces. Why?
>
>REPLACE payorname WITH CHRTRAN(PayorName,'  ',' ')
>
Maybe I'm reading more into it than necessary but..........

Just in case you are looking to get rid of all extra blanks
a b   c d       e f       becomes
a b c d e f
you can check out REDUCE() in Foxtools
Previous
Reply
Map
View

Click here to load this message in the networking platform