Beginner question: detecting specified character in string
From: Julia Briggs (julia4_me_at_yahoo.com)
Date: 02/25/05
- Next message: J.O. Aho: "Re: Question about MySQL performance and the handling of records"
- Previous message: Peter Albertsson: "Re: PHP professionnal IDE"
- Next in thread: Julia Briggs: "Re: Beginner question: detecting specified character in string"
- Reply: Julia Briggs: "Re: Beginner question: detecting specified character in string"
- Reply: John Dunlop: "Re: Beginner question: detecting specified character in string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Feb 2005 21:38:33 -0800
Hello, trying to create logic tests against a string allowing someone
to enter a certain character once or twice into a form consecutively,
but not twice seperated between other characters....
so,
hello##there (ok)
hello#there (ok)
#hello#there (no)
##hello#there (no)
###hellothere (no)
How would I do this? I was looking at strstr and some others, but not
sure. I have many challenges like this ahead, so hopefully someone
building this will help my mind figure out other designs.
Thanks so much!
-Julie
- Next message: J.O. Aho: "Re: Question about MySQL performance and the handling of records"
- Previous message: Peter Albertsson: "Re: PHP professionnal IDE"
- Next in thread: Julia Briggs: "Re: Beginner question: detecting specified character in string"
- Reply: Julia Briggs: "Re: Beginner question: detecting specified character in string"
- Reply: John Dunlop: "Re: Beginner question: detecting specified character in string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|