Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter out garbage characters
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Filter out garbage characters
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01269971
Message ID:
01269971
Views:
73
I'm in process of upsizing a fairly large VFP database to SQL 2005. I am working on uploading around a million records from a dbf to a sql table, and the dbf has a bunch of memo fields that have varying degrees of garbage characters in them (from an odd high ascii char to complete jibberish in the field).

I've been searching here and so far have not found a way to efficiently strip garbage characters from a string. I'm not talking about a few characters - I want to remove anything that isn't alphabetic, numeric, a space, hyphen, CR, LF, or an apostrophe. Being able to specify an ASCII range for deletion would be my ideal solution.

Does anyone know how to do this, or do I need to write some real ugly code to handle it?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform