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 = 45099
interpreted = N
texte = Sorry, I meant stripping all whitespaces*from the beginning* of the name. Of course, maybe a simple convertchars would solve all your needs here.Gy>> also you might want to consider stripping all whitespaces.... > > > thanks for the reply, I am already converting internal spaces to _ > which suits this use better. > > >> it can look like this: >> >> [grep search=[raw]^[:space:]*[/raw]&replace=] > > > But I see from both yours and John's reply the leading char match is ^ > >> Gyuri >> >> dale's stuff wrote: > > > Thanks! > > Dale > > > >>> 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)
Sorry, I meant stripping all whitespaces*from the beginning* of the name. Of course, maybe a simple convertchars would solve all your needs here.Gy>> also you might want to consider stripping all whitespaces.... > > > thanks for the reply, I am already converting internal spaces to _ > which suits this use better. > > >> it can look like this: >> >> [grep search=[raw]^[:space:]*[/raw]&replace=] > > > But I see from both yours and John's reply the leading char match is ^ > >> Gyuri >> >> dale's stuff wrote: > > > Thanks! > > Dale > > > >>> 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:

listfiles-looking for slick solution (1997) Listserver problem (1997) Three Guesses? (2004) Dummy Credit Card Number for debug? (1997) Apache 2.0 question (AddModule mod_webcatalog.cpp) (2008) Server slowing down. (1997) Hiding HTML and breaking the page (1997) error count with $purchase (1997) Mac to UNIX (2000) Calendar (1997) storebuilder problems on RedHat 6.1 with webcat 3.08 (2000) Share cost of training videos! (1998) Formula (2004) [WebDNA] Retrieving a PDF from an email (2008) syntax question, not in online refernce (1997) Q: for those who use Cookies for sessions? (2004) Major Problem (2003) Date conversion (2002) [WriteFile] problems (1997) select multiple 2 more cents (1997)