$_ = "Ipod batteries for Apple Ipod PDAs. Replacement batteries from L +aptops for Less.com.url"; print substr ($_, 0, 20); /^(.{0,20})/; print $1;
In reply to Re: how to shorten given string?
by borisz
in thread how to shorten given string?
by mellin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |