[ad_1]
You need to use the substr() function
echo substr($msg, 0, 10);
0
[ad_2]
solved Show first 10 letters from a string variable [duplicate]
[ad_1]
You need to use the substr() function
echo substr($msg, 0, 10);
0
[ad_2]
solved Show first 10 letters from a string variable [duplicate]