$var = "Firstname:Lastname";
I want to split $var on ":". I know how to do that. But what I want to know is that there any way to get the Lastname directly.
I don't mean something like this ($first,$last) = split(/:/,$var);
I mean to say something like split(/:/,$var) .....is this possible to get last name directly.....in this manner.