function StringBuffer()
{
	this.value = new Array();
}

StringBuffer.prototype.toString = function()
{
	return this.value.join("");
}

StringBuffer.prototype.append = function(string)
{
	return this.value.push(string);
}

StringBuffer.prototype.delLast = function()
{
	if (this.value.length)
	{
		delete this.value[this.value.length-1]
	}
}

StringBuffer.prototype.getLength = function()
{
	return this.value.length; //Returns string length
}

StringBuffer.prototype.clean = function() {
	this.value.length = 0;
}
