$str = "this is a string"; print $split(/\s/,$str);