def match_any_string(self, strings, word=0, offset=0):
        """Attempts to match each string in strings in order.
        Will return the string that matches or an empty string if no match.

        If word arg >= 1 then only match if string is followed by a whitespace
        which is much higher performance.

        If word is 0 then you should sort the strings argument yourself by
        length.
        """
        if word:
            current = self.get_string(offset)
            return current if current in strings else ''
        current = ''

        currentlength = 0
        length = 0
        for string in strings:
            length = len(string)
            if length != currentlength:
                current = self.get_length(length, offset)
            if string == current:
                return string
        return ''
Attempts to match each string in strings in order.
        Will return the string that matches or an empty string if no match.

        If word arg >= 1 then only match if string is followed by a whitespace
        which is much higher performance.

        If word is 0 then you should sort the strings argument yourself by
        length.