dictIO.utils.strings

Utility functions for string manipulation.

Functions

remove_quotes(string)

Remove quotes (single or double quotes) from the string object passed in.

string_diff(text_1, text_2)

Return diff line by line.

dictIO.utils.strings.remove_quotes(string: str) str

Remove quotes (single or double quotes) from the string object passed in.

Not only leading and trailing quotes are removed; also any quotes inside a string, if so, are removed.

dictIO.utils.strings.string_diff(text_1: str, text_2: str) str

Return diff line by line.