|
-
Jan 19th, 2003, 11:55 AM
#1
Thread Starter
New Member
how to check if a ";" is at the end of a string?
hi!
I have got a problem:
how can I check if a ";" is at the end of a string?
e.g.
$str = "This is a test;";
now I want the php script to check if at the end of $str is a ";" - if so, there should come an echo "found a ";" at the end"; !
perhaps you can help me, by saying how the function is called.
thanx a lot,
stylewriter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|