Re: String manipulation in Webcatalog

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39064
interpreted = N
texte = only problem with this is that it removes all 0'sso 0010200 gives you 12 instead of 102 --- Anup Setty wrote: > Yes, the listwords will return just the number > without > 0s so it can be used for math functions. > > Anup Setty > > ----- Original Message ----- > From: Laeg Ent. > To: WebCatalog Talk > > Sent: Thursday, October 04, 2001 10:28 AM > Subject: Re: String manipulation in Webcatalog > > > > yeah managed to solve the wee JS problem. I was > just > > wondering how do I get at the number that has been > > stripped of its zeros? Has this stripped them or > just > > formatted them so that they do not show. Like if I > > wanted to do another math function with the new > > stripped number. Thanks very much. > > > > --- Anup Setty wrote: > If > it is > > always going to be 0s leading and trailing, > > > and there are no 0s in the number you want, then > > > you can do the following, > > > > > > [listwords > > > > words=000025552000&delimiters=0][word][/listwords] > > > HTH > > > > > > Anup Setty > > > > > > P.S: Were you able to solve your wee problem > with > > > the javascript? > > > > > > I was unable to grasp the situation. > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: Laeg Ent. > > > To: WebCatalog Talk > > > > > > Sent: Thursday, October 04, 2001 9:21 AM > > > Subject: String manipulation in Webcatalog > > > > > > > > > > I have a number like 000004567000000 > > > > > > > > I am unsure how many zeros are before the > actual > > > > number and unsure how many after. I need to > > > extract > > > > the number. How do you do this in Webcatalog? > Its > > > > seems pretty weak on string manipulation. > > > > > > > > > > > > > > ____________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.co.uk address at > > > http://mail.yahoo.co.uk > > > > or your free @yahoo.ie address at > > > http://mail.yahoo.ie > > > > > > > > > > > > > > ------------------------------------------------------------- > > > > 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://search.smithmicro.com/ > > > > > > > > > > > > ------------------------------------------------------------- > > > 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://search.smithmicro.com/ > > > > > ____________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.co.uk address at > http://mail.yahoo.co.uk > > or your free @yahoo.ie address at > http://mail.yahoo.ie > > > > > ------------------------------------------------------------- > > 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://search.smithmicro.com/ > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: String manipulation in Webcatalog (Marc M. 2001)
  2. Re: String manipulation in Webcatalog (Marc M. 2001)
  3. Re: String manipulation in Webcatalog (John Peacock 2001)
  4. Re: String manipulation in Webcatalog (Brian Fries 2001)
  5. Re: String manipulation in Webcatalog (Laeg Ent. 2001)
  6. Re: String manipulation in Webcatalog (Laeg Ent. 2001)
  7. Re: String manipulation in Webcatalog (Laeg Ent. 2001)
  8. Re: String manipulation in Webcatalog (Anup Setty 2001)
  9. Re: String manipulation in Webcatalog (John Peacock 2001)
  10. Re: String manipulation in Webcatalog (Anup Setty 2001)
  11. String manipulation in Webcatalog (Laeg Ent. 2001)
only problem with this is that it removes all 0'sso 0010200 gives you 12 instead of 102 --- Anup Setty wrote: > Yes, the listwords will return just the number > without > 0s so it can be used for math functions. > > Anup Setty > > ----- Original Message ----- > From: Laeg Ent. > To: WebCatalog Talk > > Sent: Thursday, October 04, 2001 10:28 AM > Subject: Re: String manipulation in Webcatalog > > > > yeah managed to solve the wee JS problem. I was > just > > wondering how do I get at the number that has been > > stripped of its zeros? Has this stripped them or > just > > formatted them so that they do not show. Like if I > > wanted to do another math function with the new > > stripped number. Thanks very much. > > > > --- Anup Setty wrote: > If > it is > > always going to be 0s leading and trailing, > > > and there are no 0s in the number you want, then > > > you can do the following, > > > > > > [listwords > > > > words=000025552000&delimiters=0][word][/listwords] > > > HTH > > > > > > Anup Setty > > > > > > P.S: Were you able to solve your wee problem > with > > > the javascript? > > > > > > I was unable to grasp the situation. > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: Laeg Ent. > > > To: WebCatalog Talk > > > > > > Sent: Thursday, October 04, 2001 9:21 AM > > > Subject: String manipulation in Webcatalog > > > > > > > > > > I have a number like 000004567000000 > > > > > > > > I am unsure how many zeros are before the > actual > > > > number and unsure how many after. I need to > > > extract > > > > the number. How do you do this in Webcatalog? > Its > > > > seems pretty weak on string manipulation. > > > > > > > > > > > > > > ____________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.co.uk address at > > > http://mail.yahoo.co.uk > > > > or your free @yahoo.ie address at > > > http://mail.yahoo.ie > > > > > > > > > > > > > > ------------------------------------------------------------- > > > > 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://search.smithmicro.com/ > > > > > > > > > > > > ------------------------------------------------------------- > > > 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://search.smithmicro.com/ > > > > > ____________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.co.uk address at > http://mail.yahoo.co.uk > > or your free @yahoo.ie address at > http://mail.yahoo.ie > > > > > ------------------------------------------------------------- > > 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://search.smithmicro.com/ > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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://search.smithmicro.com/ Laeg Ent.

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:

Emailer setup (1997) Strange intermittent WebDNA problems (2008) [WebDNA] WebSite Examples (2008) [random] only for 1-100??? (1997) webCat craps httpd (2005) Image Upload and Auto Resize? (2003) Find one not all, code not working (2003) automating txt downloads for conversion to webcat db (2006) Speed/performance issues using .hdr (1997) [TCPConnect] Errors (2003) SOLUTION.... Balancing randomness (2000) [convertChars] and HTML Tags (1997) Languages (1997) WebCat2b15MacPlugin - [protect] (1997) WebCatalog2 Feature Feedback (1996) Custom formulas.db (1998) WCS Newbie question (1997) Search design (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Summing fields (1997)