how to get the last char of a string in PHP?

Posted by streetparade on Stack Overflow See other posts from Stack Overflow or by streetparade
Published on 2010-04-21T09:44:57Z Indexed on 2010/04/21 9:53 UTC
Read the original article Hit count: 167

Filed under:
|

I need to get the last char of a srting. Say i have a string like this "testers" and i want that the result should be "s"; how can i do that in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about string