I have two string that i want to limit to lets say the first 25 characters for example. Is there a way to cut off text after the 25th character and add a ... to the end of the s
You're looking for the substr method.
$s = substr($input, 0, 25);
This will get you the first chuck of the string and then you can append whatever you'd like to the end.