Split second response9/27/2023 ![]() ![]() ![]() If only PATTERN is given, EXPR defaults to $_.Īnything in EXPR that matches PATTERN is taken to be a separator that separates the EXPR into substrings (called " fields") that do not include the separator. (Prior to Perl 5.11, it also overwrote with the list in void and scalar context. Splits the string EXPR into a list of strings and returns the list in list context, or the size of the list in scalar context. # split /PATTERN/,EXPR,LIMIT # split /PATTERN/,EXPR # split /PATTERN/ #split
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |