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:

3.08 has trouble keeping the serial # ?? (2000) UPDATE PROBLEM (1997) No more misunderstanding ... yay! :) (1997) Attn: Bug in GeneralStore example b15 (1997) Showif with multiple options (2002) WebCat2b15MacPlugin - showing [math] (1997) Help formatting search results w/ table (1997) WebSTAR 2.1 freezes my Mac (1997) RequiredFields template (1997) Extracting URL (2007) showif and cart (1997) RE:It just Does't add up!!! (1997) [append] (1997) Purchased cart being overwritten - still !?? (1997) More NT encyption!! (1999) Remove a Field from a DB (2007) TaxTotal Problem (1997) Custom formulas.db (1998) Multiple adding (1997) [WebDNA] configuring 5.1 with apache 2? (take 2) (2008)