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 Ordody Objects 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:

    
  1. Re: grep question - how to strip spaces from the beginning ofa string? (Gyuri 2002)
  2. Re: grep question - how to strip spaces from the beginning ofa string? (John Peacock 2002)
  3. Re: grep question - how to strip spaces from the beginning ofa string? (Kenneth Grome 2002)
  4. Re: grep question - how to strip spaces from the beginning ofa string? (Gyuri 2002)
  5. Re: grep question - how to strip spaces from the beginning ofa string? (dale's stuff 2002)
  6. Re: grep question - how to strip spaces from the beginning ofa string? (dale's stuff 2002)
  7. Re: grep question - how to strip spaces from the beginning ofa string? (John Peacock 2002)
  8. Re: grep question - how to strip spaces from the beginning ofa string? (Gyuri 2002)
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 Ordody Objects 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:

Warning: 50 [MATH] Variable Limit per page (1998) PSC recommends what date format yr 2000??? (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Calculating multiple shipping... (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) [OT] Mac OSX and SSH Telnet (2000) legal html [ConvertChars] (2007) Great product and great job ! (1997) Search in 2 or more catalogs (1997) select multiple (1997) WebCatalog can't find database (1997) TCPConnect to query for Domain expiration (2000) eCommerce software pricing (1998) [OT] Domain Name Scam (2000) Max Record length restated as maybe bug (1997) PhotoMill -> PhotoMaster (1997) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Question about replacing words (1998) Need help with emailer- 2 issues (1997) All choices on IE different than Netscape (1997)