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:
[showif] with ! (2000)
[WebDNA] Securing form input on WEBDNA (2018)
Search/sort in URL Was: GuestBook example (1997)
redirect with frames (1997)
AppleScript question (1997)
WebCatalog 2.0 b 15 mac (1997)
WebCat2 - [format thousands] (1997)
covertchars db to keep CR's, but not new ones (2002)
Exclamation point (1997)
Configuring E-mail (1997)
PSC recommends what date format yr 2000??? (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
Playin Tricks (2006)
credit card (1997)
Email (1998)
WebMerchant Question (1998)
getting images' width/height (1998)
Me know logical no need (2002)
[Fwd: can we get string variables?] (1998)
Cookie Newbie (2002)