Also, see the substr doc from Perldoc.com.$str = "Ipod batteries for Apple Ipod PDAs. Replacement batteries from + Laptops for Less.com.url"; $short = substr($str, 0, 20);
In reply to Re: how to shorten given string?
by Yendor
in thread how to shorten given string?
by mellin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |