How to get position of last letter in a string in php?

Posted by Diddy on Stack Overflow See other posts from Stack Overflow or by Diddy
Published on 2010-05-27T08:28:54Z Indexed on 2010/05/27 8:31 UTC
Read the original article Hit count: 152

Filed under:
|

Example of a string: "Some text.....!!!!!!!!?????"

Using PHP how would I get the position of the last letter (or even alphanum character) which in this example is the letter t?

© Stack Overflow or respective owner

Related posts about php

Related posts about string