Re: String manipulation in Webcatalog
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39054
interpreted = N
texte = Yes, the listwords will return just the number without0s 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 AMSubject: 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/
Associated Messages, from the most recent to the oldest:
Yes, the listwords will return just the number without0s 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 AMSubject: 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/
Anup Setty
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:
all records returned. (1997)
[WebDNA] Date: header on emails - timezone problem perhaps (2010)
multiple search commands (1997)
(1997)
Summing fields (1997)
Plugin or CGI or both (1997)
SHOWIF/HIDEIF empty fields (2005)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
deerfield/wingate server (2004)
Mac: [ListFiles] bug alert (1997)
Img in goodpath (2001)
WebCat ignoring Shopping Cart Folder (2001)
multiple db's (2003)
Updating a database once per day - An example (1998)
Merchant account (1998)
Multiple Domains (2003)
problems with 2 tags (1997)
PCS Frames (1997)
RE: creating writefile data from a nested search (1997)
mySQL numfound (2006)