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:

Pager notification of completed orders (1998) [WebDNA] Manual install on Manjaro and MariaDB (2017) hideifs using [date] (1999) A question on sub-categories (1997) [encrypt] problems? (1998) checksum for credit cards? (1997) Some Advise needed (1997) Template Encryption (1998) Calendar (1997) Pithy questions on webcommerce & siteedit (1997) Initiating NewCart (1997) WebCat Code and WebStar Search? (2000) Searching for (field1 OR field2) AND field3 (2000) Getting URL's entered manually (1997) Alternative To WebDNA? (2006) Username for Admin Group (1997) (1997) Help formatting search results w/ table (1997) Thanks ! (1997) Showcart in [include] (1999)