InterviewSolution
Saved Bookmarks
| 1. |
How to get last character of string in php? |
|
Answer» To FIND the last CHARACTER of a PHP string, use the substr() function in the following way: Examplesubstr("best INTERVIEW QUESTION", -1); OUTPUT: |
|