Perl Split: How To Split Strings In Perl

Perl Split: How To Split Strings In Perl You can split strings into tokens in Perl using the split() function. split PATTERN, TEXT Here’s an example; we’ll split some text on the pipe | character. my $text = “one|two|three”; # … Continue reading

Posted in Perl | Tagged , , |