Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing spaces in a field
Message
From
08/08/2002 18:14:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replacing spaces in a field
Miscellaneous
Thread ID:
00687756
Message ID:
00687756
Views:
52
Is there anyway to replace spaces in a table field? I have a table where I need to replace all spaces in that field with a hyphen. I have tried :
replace substr(field,2,1) with '-';
for substr(field,2,1) = ' '

This gives me an unrecoginzed phrase error. Is there a better way to do this? Please help!!! Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform