Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleteing special characters from strings
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00716562
Message ID:
00716570
Views:
19
I assume you are talking about a 'text' in a record.
Then try:
repl (field_name) with left(field_name,len(alltr(field_name)-1))

or
lnAsc=asc(right(alltr(field_name),1))
repl (field_name) with strtran(field_name, chr(lnasc),"")


>I'm trying to update a SQL Server, but the text I'm updating with has a special ascii character at the end. It looks like a little box at the end of all the records. If I manually get rid of the character, SQL updates correctly. Does anyone know if there is a way to progammatically delete this special character?
Previous
Reply
Map
View

Click here to load this message in the networking platform