Re: Numbers from Sentence
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47997
interpreted = N
texte = At 3:03 PM -0800 2/21/03, World Wide Art wrote:>How would I get the numbers from a sentence. i.e. If I had:>>This is the sentence with 1,234 used somewhere in it.>>How would I get:>>1,234Good problem... If you knew that there would only be one number in the sentence, then you could use a convertchars. Use a special database the converts everything /but/ 0-9 to null. What you're left with would a number. But this would break if your sentence was There are 1 or 2 things to say.~joe-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
At 3:03 PM -0800 2/21/03, World Wide Art wrote:>How would I get the numbers from a sentence. i.e. If I had:>>This is the sentence with 1,234 used somewhere in it.>>How would I get:>>1,234Good problem... If you knew that there would only be one number in the sentence, then you could use a convertchars. Use a special database the converts everything /but/ 0-9 to null. What you're left with would a number. But this would break if your sentence was There are 1 or 2 things to say.~joe-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Joe D'Andrea
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b15MacPlugin - showing [math] (1997)
SHOWIF/HIDEIF empty fields (2005)
Does it use the two Processors ? (1999)
Count regular expressions in a file (2007)
PROBLEM (1997)
Help formatting search results w/ table (1997)
WebCat b13 CGI -shownext- (1997)
WCS Newbie question (1997)
"Advanced" Search Algorithm (2008)
politeness (was searches with dash...) Please Read (2000)
Forcing Paragraph Breaks on Results (1998)
WCS Newbie question (1997)
Webdna is dead! (2003)
NT or Mac (1998)
admin:admin won't work for login:password ! (1999)
WC2b15 File Corruption (1997)
I think WebDNA-Talk died ... :( (1997)
[LOOKUP] (1997)
Denying access by IP address (2000)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)