Add utility method to split commandline string