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:
URGENT! ACGI Stopped!!!! (1997)
WebCatalog for guestbook ? (1997)
Help name our technology! I found it (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Multiple catalog databases and showcart (1997)
Creating a back button (1999)
Practice runs ? (1997)
Multi-processor Mac info ... (1997)
RE: Can WebCatalog.debug solve my problem? (2000)
problems with WebCat-Plugin ()
Webcat no longer supported? (2006)
Repeating Fields (1997)
help with duplicate records posted (1998)
WebDelivery (1998)
Using tags to create a file name (2000)
New commands in Final candidate (1997)
sendmail and proper header formatting (2005)
2 Questions (2001)
Database Program (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)