slider mode binds implemented

bump to version 0.2
This commit is contained in:
2023-09-24 16:35:00 +01:00
parent c9ae271cf4
commit 1b2608801f
5 changed files with 127 additions and 18 deletions

View File

@@ -0,0 +1,10 @@
def remove_prefix(input_string, prefix):
if prefix and input_string.startswith(prefix):
return input_string[len(prefix) :]
return input_string
def remove_suffix(input_string, suffix):
if suffix and input_string.endswith(suffix):
return input_string[: -len(suffix)]
return input_string