reducing the length of paragraph in php
$result = substr("Hello How are you", 0, 5); //first 5 chars "Hello"
4.4
5
$firstStringCharacter = substr("hello", 0, 1);
Thank you!
5
0
3.33
3
$newstring = substr($dynamicstring, -7);
Thank you!
3
0
Are there any code examples left?
New code examples in category PHP