How do I convert a multiline string to array?
my $text= " ads da sda s da d as das d a as dasd ";
Note : I dont want to remove or delete newline ?
As it stands, the question could be worded more clearly.
my @text = split " ", $text;
2.1m questions
2.1m answers
60 comments
57.0k users