TrimAllOf is a String function that remove all occurrences of character values in ATrim from the beginning and end of the values specified in AText. TrimAllOf is like SysUtils.Trim, but acts upon the characters specified in ATrim instead of the default space character.
The return value for TrimAllOf is the values in AText after removing all leading and trailing occurrences of the characters in ATrim.