diff options
| author | Scott Gasch <[email protected]> | 2022-03-25 09:15:08 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-03-25 09:15:08 -0700 |
| commit | c6fca944b41f292b66efaba27ebf3fd0a37956b8 (patch) | |
| tree | 8051b1cbf733e413a48cd1faad544bbb2008626b /string_utils.py | |
| parent | 0a449b165cc07b584e4467ff55a3ed16ca53fff0 (diff) | |
Adds shuffle/scramble to list_utils.
Diffstat (limited to 'string_utils.py')
| -rw-r--r-- | string_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/string_utils.py b/string_utils.py index 37851e0..0899576 100644 --- a/string_utils.py +++ b/string_utils.py @@ -971,6 +971,10 @@ def shuffle(in_str: str) -> str: return from_char_list(chars) +def scramble(in_str: str) -> str: + return shuffle(in_str) + + def strip_html(in_str: str, keep_tag_content: bool = False) -> str: """ Remove html code contained into the given string. |
