$a = "word1:word2"; ($firstword) = split(/::/,$a,2),shift; [download]
In reply to Re: Removing delimiters by OM_Zen in thread Removing delimiters by sulfericacid