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:

    
  1. Re: Numbers from Sentence (Dan Strong 2003)
  2. Re: Numbers from Sentence (World Wide Art 2003)
  3. Re: Numbers from Sentence (Joe D'Andrea 2003)
  4. Re: Numbers from Sentence (Rob Marquardt 2003)
  5. Re: Numbers from Sentence (Dan Strong 2003)
  6. Numbers from Sentence (World Wide Art 2003)
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:

SQL db type (2006) sort (2000) TIP OF THE DAY (2004) something simple? (1998) problems with 2 tags shakur (1997) 3.0.8 PDF Manual? Do YOU have it? :) (2000) 404 error -- but wc code executes... (2001) Enhancement Request for WebCatalog-NT (1996) Date Sorting (1997) Don't know if this is a sily question... (2003) Problems passing [SKU] with $Replace in 2.0 (1997) Explict Groups (not sexual:0) (2002) Web Cat and MS SQL 6.5 (1999) Error with [applescript] (1999) Adding Message to Order (1997) MacAuthorize order data fields WAS:How To question... (1997) really wierd browser truncating (1997) LetterRip and WebCat (1998) CORR: date format (2000) Silly date question (2006)