I have an array with multiple strings, like this:
$str[0] = \"kasdnkjsandjabsdkjsbad\"; $str[1] = \"kasdnkjsandjasdjksabdjkasbkjdsak\"; $str[2] = \"kasdnkjsa
you could use
substr( $myString, $startInt, [$endInt] );
to limit each string to only so many characters. An Example:
for( $i = 0; $i < sizeof( $myArray ); $i++ ){ $myArray[$i] = substr( $myString, 0, 20 ); }
That will limit the strings to 20 characters in length, if I did that right.