def _skip_char_around(self, string, char='<STR_LIT:\n>'):
starts, ends = '<STR_LIT>', '<STR_LIT>'<EOL>n = len(char)<EOL>if string.startswith(char):<EOL><INDENT>starts = string[:n]<EOL>string = string[n:]<EOL><DEDENT>if string.endswith(char):<EOL><INDENT>ends = string[-n:]<EOL>string = string[:-n]<EOL><DEDENT>string = self._base_compile(string)<EOL>if starts:<EOL><INDENT>string = starts + string<EOL><DEDENT>if ends:<EOL><INDENT>string = string + ends<EOL><DEDENT>return string<EOL>
Custom pseudo method for skipping a given char around a string.

The default char to be skipped is the new line (\n) one.

Example:
    '\nHello\n' would call ``_base_compile`` with 'Hello' only.