String: Removing Characters from The Edge of StringTag: string, substr Category: PHP Basicpost: 03 Feb 2008 read: 250 PHP String Tips: If you want to remove first or last n characters from string, you can use substr() function. The substr() function enables you to cut strings into smaller strings.
Following sample when we use 3 arguments:
|
| | Give Your Opinion | Recommend |
|

