Re: A better ConvertChars?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60629
interpreted = N
texte = Sounds like a job for GREP ! On 31/12/2004, at 8:52 AM, Scott Szretter wrote: > Is there something easier than using ConvertChars when you want to > simply replace 1 or 2 characters in a string (text variable)? > > For example, I might want to replace all line feed characters in a > text variable, and as it stands I have to create a .db file and map > the line feed to what I want it replaced by... > > Seems like there should be something like : > > [ConvertMyChars %0D=%00,%0A=%00][myvar][/ConvertMyChars] > > ?? > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: A better ConvertChars? ( Stuart Tremain 2004)
  2. A better ConvertChars? ( Scott Szretter 2004)
Sounds like a job for GREP ! On 31/12/2004, at 8:52 AM, Scott Szretter wrote: > Is there something easier than using ConvertChars when you want to > simply replace 1 or 2 characters in a string (text variable)? > > For example, I might want to replace all line feed characters in a > text variable, and as it stands I have to create a .db file and map > the line feed to what I want it replaced by... > > Seems like there should be something like : > > [ConvertMyChars %0D=%00,%0A=%00][myvar][/ConvertMyChars] > > ?? > > ------------------------------------------------------------- > 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://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Stuart Tremain

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:

webcat- multiple selection in input field (1997) Multiple instances of database (2003) Re[2]: searches with dash, period etc. (back form politenes (2000) Performance of this mailserver (2000) emailer w/F2 (1997) Scoping rules in WebDNA 4.0 (2000) wrong input values? (1997) [WebDNA] Uploading Specific File Types (2009) WC2.0 Memory Requirements (1997) Search results templates (1996) PIXO (1997) Forcing a NEWCART (1997) Using [Include] Context (1999) [convertchars] Problem (2000) Show items based on login Password (2003) Calculating multiple shipping... (1997) math on date? (1997) Server Jumping and Web-networking (2000) Problem with 2.1b3 (1997) Table sorting by selected category then others (2004)