convert a string into an array in perl
January 18th, 2007 by Lawrence David
to convert a string into an array of characters:
$string = “a very nice string”;
@char_array = split(”,$string);
January 18th, 2007 by Lawrence David
to convert a string into an array of characters:
$string = “a very nice string”;
@char_array = split(”,$string);
Works! Thanks!