I will receive from a back office a string like one#two#three#
. I would like to know how could I store the one
, two
, three
in different variables. The string can have multiple substrings so something like PHP explode would be perfect.
String= "one#two#three#";
sub1 = "one";
sub2 = "two";
sub3 = "three";