DELSTR(string,position[,length]) A substring of string is deleted and the result returned. The substring to be deleted starts at the given position and has length length. If the length is not specified, then the rest of the string is deleted. If the given position is greater than the length of the string, or if length is zero, then the string is returned unchanged.