modules.dhbw.dualis.trim_str

modules.dhbw.dualis.trim_str(content, empty_string='')[source]

Trim given string with leading/training whitespaces/tabs.

contentstr

String with leading/trailing whitespaces/tabs.

empty_stringstr

String value in case that the value of content is None.

content: str

String with removed leading/trailing whitespaces/tabs.