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:
Showif/hideif within Javascript (2004)
Date Bug (1998)
japanese characters (1997)
wc 2 pro users - sites, quotes wanted (1997)
ImageMagick (2005)
WebDNA Developers' Network ---- Thank you (2002)
japanese characters (1997)
[format xs] freeze (1997)
Need NT Assist. w/ Emailer (2000)
[Announce] Newest Commerce Site based on WebCatalog (1997)
too many nested tags ... (1997)
[table] retained in memory (2006)
group searching problem (2002)
Shipping DB (1999)
Reversed words (1997)
locking variables? (2000)
Bug Report, maybe (1997)
totals (1997)
[OT] WebDNA Family Album (2004)
WebCatalog f2 Installation (1997)