Re: grep question - how to strip spaces from the beginning of a

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45104
interpreted = N
texte = on 11/11/02 4:08 PM, John Peacock at jpeacock@rowman.com so noted...>> 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? > > [grep search=^ *&replace=][string][/grep]Now if only the match at start of string and match at end of string metacharacters actually *worked* with WebDNA's pseudo-grep. : ( Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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 of a (Rob Marquardt 2002)
  2. Re: grep question - how to strip spaces from the beginning of a (Rob Marquardt 2002)
  3. grep question - how to strip spaces from the beginning of astring? (dale's stuff 2002)
on 11/11/02 4:08 PM, John Peacock at jpeacock@rowman.com so noted...>> 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? > > [grep search=^ *&replace=][string][/grep]Now if only the match at start of string and match at end of string metacharacters actually *worked* with WebDNA's pseudo-grep. : ( Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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/ Rob Marquardt

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:

Frames and WebCat (1997) Error Lob.db records error message not name (1997) This Code Kills My WebCatalog Dead (2003) Help! WebCat2 bug (1997) Max Record length restated as maybe bug (1997) Sorting by SKU Not Working (1998) Superfilous Characters (1998) problems with 2 tags (1997) Stopping bad HTML propagation ? (1997) Summarizing results. Is there a shortcut? (1999) Quit revisited (1997) Off Topic: SNMP over TCP/IP (1998) Spell Check (2003) WC slowness on NT (2000) [shownext max (1997) Summary: Webmerchant quitting (1998) Sorting alphabetical (2003) Grep is Broke (2004) SFTP (2004) Emailer and encryption (1997)