Re: grep question - how to strip spaces from the beginning ofa string?
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45094
interpreted = N
texte = Maybe [grep search=^ *&replace=]also you might want to consider stripping all whitespaces....it can look like this:[grep search=[raw]^[:space:]*[/raw]&replace=]Gyuridale's stuff wrote:> hi,>> Reading past messages I see an example John P. gave for stripping > spaces from the end of a string using - [grep search= > *$&replace=][string][/grep]> where the $ denotes the line end charactor. I wonder is there > something similar for the line beginning?>> Thanks>> Dale>>> -------------------------------------------------------------> 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/>>-- Gyuri OrdodyObjects Online, Inc.-------------------------------------------------------------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:
Maybe [grep search=^ *&replace=]also you might want to consider stripping all whitespaces....it can look like this:[grep search=[raw]^[:space:]*[/raw]&replace=]Gyuridale's stuff wrote:> hi,>> Reading past messages I see an example John P. gave for stripping > spaces from the end of a string using - [grep search= > *$&replace=][string][/grep]> where the $ denotes the line end charactor. I wonder is there > something similar for the line beginning?>> Thanks>> Dale>>> -------------------------------------------------------------> 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/>>-- Gyuri OrdodyObjects Online, Inc.-------------------------------------------------------------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/
Gyuri
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:
webmerchant/ Mac Auth. and CC refunds (1998)
NT Woes (1997)
Caching [include] files ... (1997)
Separate SSL Server (1997)
merhcant account resource (1999)
trouble updating records in database (1998)
[WebDNA] tcp connect who is (2008)
Problems with [Search] param - Mac Plugin b15 (1997)
problems with 2 tags (1997)
Date Range works (1997)
Typhoon Pro Admin and Problems (2001)
[WebDNA] Secure Cookies - Further reading (2020)
[WebDNA] High-profile WebDNA sites? (2008)
[WebDNA] What is the diff. btwn. Commerce & Enterprise edition? (2008)
More on the email templates (1997)
Banners (1997)
re: Large databases in WebCat (1997)
Multiple catalog databases and showcart (1997)
Getting total number of items ordered (1997)
Cold Fusion Buster (1997)