in reply to How to split to the sentence by first whitespace as delimiter?

Use the third argument to split(), which says how many parts to split the string into:
($first, $rest) = split ' ', $string, 2;
  • Comment on Re: How to split to the sentence by first whitespace as delimiter?
  • Download Code