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:
Locking up with WebCatalog... (1997)
[Webcat 2]Next (1997)
WebDNA 5.0 & WebMerchant (2003)
RE: Languages (1997)
Re:mac hack (1997)
Pithy questions on webcommerce & siteedit (1997)
Trouble with formula.db (1997)
Best way to handle 404 errors with WebDNA and Web* V (2003)
anyone free (2004)
Problems getting parameters passed into email. (1997)
Nesting format tags (1997)
Shopping cart now good (fixed it) (1997)
Introduction/Tutorial/QuickStart (1997)
Other then credit cards-how? (1997)
Sendmail (2000)
Cancel Subscription (1996)
sandboxes with 6.0 (2004)
Great product and great job ! (1997)
Running 2 two WebCatalog.acgi's (1996)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)