Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleteing special characters from strings
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00716562
Message ID:
00716570
Vues:
20
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform