request for string functions

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17558
interpreted = N
texte = (Brian) >Some examples of email addresses that it stopped on: > ESTUCIA@.IX.NETCOM.COM > GARJ 5409@aol.com > bdunn@ewu > aol.pizzagarib.comAt this point I want to line out once more: To reduce errors in mail addresses it is required to check the user input as accurate as possible. Please, we really nee more sophisticated string functions in WebCat to check user input like email address more easy.A suggestion - with the following additional functions WebCat could handle nearly all situations: ---------- [FINDSTRING source=[MyString]&find=hello] -> number returns the starting position of hello in the variable [MyString] ---------- [INSERTSTRING source=[MyString]&insert=hello&start=15] Inserts hello into the variable [MyString] at position 15 ---------- [DELETESTRING source=[MyString]&start=15&end=20] deletes characters 15 to 20 from variable [MyString] ---------- [REPLACESTRING source=[MyString]&oldstring=hello&newstring=welcome] replaces all occurences of hello with welcome it should be possible to set newstring to (= nothing) ----------Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: request for string functions (John Hill 1998)
  2. Re: request for string functions (Brian B. Burton 1998)
  3. request for string functions (Peter Ostry 1998)
(Brian) >Some examples of email addresses that it stopped on: > ESTUCIA@.IX.NETCOM.COM > GARJ 5409@aol.com > bdunn@ewu > aol.pizzagarib.comAt this point I want to line out once more: To reduce errors in mail addresses it is required to check the user input as accurate as possible. Please, we really nee more sophisticated string functions in WebCat to check user input like email address more easy.A suggestion - with the following additional functions WebCat could handle nearly all situations: ---------- [FINDSTRING source=[MyString]&find=hello] -> number returns the starting position of hello in the variable [MyString] ---------- [INSERTSTRING source=[MyString]&insert=hello&start=15] Inserts hello into the variable [MyString] at position 15 ---------- [DELETESTRING source=[MyString]&start=15&end=20] deletes characters 15 to 20 from variable [MyString] ---------- [REPLACESTRING source=[MyString]&oldstring=hello&newstring=welcome] replaces all occurences of hello with welcome it should be possible to set newstring to (= nothing) ----------Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

changing order number (1998) ShowCart (2001) Re:Cookies and WebCat?? (1999) Urgent WebCatalog problem (2000) Online reference (1997) NetCloak as Emailer substitute? (1999) Word wrapping (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Bug or syntax error on my part? (1997) OT - good CC processor(s)? (1999) Code database (1998) [MoveFile] (2000) Date search - yes or no (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) [ListFiles] context & alias (1997) Emailer Set Up (1997) WebCatalog for guestbook ? (1997) Location of Webcat site in folder hierarchy (1997) using showpage and showcart commands (1996) Displaying xx number of characters (1997)