Stipping all alpha characters from a string
From: Alyx (alyxk_at_labx.com)
Date: 04/27/04
- Previous message: Chris W: "Multiple Server query"
- Next in thread: Vishal Parkar: "Re: Stipping all alpha characters from a string"
- Reply: Vishal Parkar: "Re: Stipping all alpha characters from a string"
- Messages sorted by: [ date ] [ thread ]
Date: 27 Apr 2004 13:11:56 -0700
I need to strip all characters that are not a number from a string
variable in a sql procedure. There is not clear pattern to the
character the user can input.
Example input for the phone field
1. call me
2. 1 (555) 555-8888
3. please email
4. +049.890.9876
5. 0x0x0x
6. Work: (444) 123-4567
I need to strip the characters down to only a number so I can evalute
if a correct entry was made.
After stripping and checking above example numbers 2,4, and 6 would be
the only examples that would come back valid.
Any help would be appreciated.
Thanks,
Alyx
- Previous message: Chris W: "Multiple Server query"
- Next in thread: Vishal Parkar: "Re: Stipping all alpha characters from a string"
- Reply: Vishal Parkar: "Re: Stipping all alpha characters from a string"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: [Strips] Heh, this applies so broadly
... One other strip I was going to mention was 'Jack', ... about it's titular and
supporting characters. ... local anime club and it was more than a little amusing
in places. ... why these characters are now a part of Megas. ... (rec.arts.anime.misc) - Re: FBOFW - July 22
... Therese's only interest in the baby that's been shown in the strip ...
None of these things have anything to do with the characters of ... Anthony or Liz,
who are bearing the brunt of the vitriol here. ... (rec.arts.comics.strips) - Re: Webcomic Launches New Website & Blog
... months & I recently launched an official website & blog for the strip. ... for
your characters as I wanted. ... care about other people, not the idioms of cartoon
structure, and they get ... Road Runner isn't funny because the rocket-skates malfunction,
... (rec.arts.comics.strips) - Re: FOOB 5/1/07: Gah.
... blah blah blah. ... I doubt we would bother commenting. ... fun
strip populated with characters and situations ... (rec.arts.comics.strips) - Re: removing special characters from money fields
... You could use a function like this to strip the characters out and to ...
Dim nextCharacter ... > within our Access DB for account reconciliation. ...
(microsoft.public.inetserver.asp.general)