// DelimiterParser Class
function DelimiterParser(exp, parserType){
	this.exp = exp;
	this.nextExp = null;
	this.type = parserType;

this.parse = function(msg, pos){
	return this.parseLine(msg, pos, this.nextExp);
}

this.parseLine = function(msg, pos, delimiter){
	var line = msg.substring(pos, msg.length);
	//alert("pos=" + pos);
	//alert("length="+msg.length);
	if (line == null || line=="" || this.exp == null || this.exp=="")
		return "";
		
	return line.substring(0, this.exp.length);
}
}
