TCString::StrfindDelim

Finds string in string, case insensitive, requires the string be surrounded by one the specified delimiters, or the start or end of the string.