Re: [WebDNA] ONLY the FIRST continuous run of numeric chars?

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101223
interpreted = N
texte = Here, depending on which it is that you want to do (remove=20 the street number or collect only the street number): [text show=3DF]myString=3D1155 Bluebridge, apt.#2[/text] [grep search=3D(^[0-9][0-9]*)&replace=3D\2][myString][/grep]
[ListWords words=3D[myString]&delimiters=3D ] [showif [index]=3D1][word][/showif] [/ListWords]
[ListWords words=3D[myString]&delimiters=3D ] [hideif [index]=3D1][word][/hideif] [/ListWords] GJK On Mon, 20 Oct 2008 17:39:21 -0600 Govinda wrote: > all listening to this thread :-), >=20 > I see what you were suggesting Stuart (see below). > Gary I did not get your drift... you put the whole=20 >match into one subpattern which then does not allow me=20 >to extract out JUST the number. Did you try either of=20 >those suggestions? >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  2. RE: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Michael A. DeLorenzo" 2008)
  3. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Matthew Bohne 2008)
  4. RE: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Michael A. DeLorenzo" 2008)
  5. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Gary Krockover 2008)
  6. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Matthew Bohne 2008)
  7. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  8. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  9. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  10. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  11. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  12. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  13. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  14. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  15. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Patrick McCormick 2008)
  16. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Terry Wilson 2008)
  17. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Charles Kline 2008)
  18. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  19. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("Gary Krockover" 2008)
  20. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  21. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  22. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  23. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? ("William DeVaul" 2008)
  24. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
  25. Re: [WebDNA] ONLY the FIRST continuous run of numeric chars? (Stuart Tremain 2008)
  26. [WebDNA] ONLY the FIRST continuous run of numeric chars? (Govinda 2008)
Here, depending on which it is that you want to do (remove=20 the street number or collect only the street number): [text show=3DF]myString=3D1155 Bluebridge, apt.#2[/text] [grep search=3D(^[0-9][0-9]*)&replace=3D\2][myString][/grep]
[ListWords words=3D[myString]&delimiters=3D ] [showif [index]=3D1][word][/showif] [/ListWords]
[ListWords words=3D[myString]&delimiters=3D ] [hideif [index]=3D1][word][/hideif] [/ListWords] GJK On Mon, 20 Oct 2008 17:39:21 -0600 Govinda wrote: > all listening to this thread :-), >=20 > I see what you were suggesting Stuart (see below). > Gary I did not get your drift... you put the whole=20 >match into one subpattern which then does not allow me=20 >to extract out JUST the number. Did you try either of=20 >those suggestions? >=20 "Gary Krockover"

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:

Intermitent problem using [referrer] (1997) Catalogs and W* (1996) make a beep (2004) LookUp Tag (1997) JavaScript Image Problem (1998) Mail Server Needed. (1998) shownext (1997) creating a 60 fields database (1997) Erotic Sites (1997) [carts] and databases (1997) Formatting dates stored in db (2003) E-mail Attachments (1997) canEmail? (1998) Re:What file? (1997) Multiple prices (1997) RE: type 2 errors with ssl server (1997) [append] vs. [appendfile] delta + question? (1997) Help! WebCat2 bug (1997) Server crash (1997) Not reading blanks (1998)