Hello,
$string = "This is the string I want to shorten to a certain length";
I want to only return the first 10 characters of my $string. So the output would look something like:
This is th
How do you do sucha thing?
Any coding examples are greatly appreciated!
Thanks in advance!