Hi my problem is to find out existance of a single quote (') in a string.
for example Citta' has one at the last.
Now the searchable string is in $word
I have used strrchr($word,"'");
No error message..but not sure would it work?
Please help..
PLs help..Searching a single quote In a string
Moderator: General Moderators
-
anirbanb2004
- Forum Newbie
- Posts: 23
- Joined: Sun Oct 15, 2006 4:21 pm
-
anirbanb2004
- Forum Newbie
- Posts: 23
- Joined: Sun Oct 15, 2006 4:21 pm
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Have you looked at the manual for strpos? It clearly shows how to use the function, along with many examples.