mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-19 01:23:31 +00:00
slider mode binds implemented
bump to version 0.2
This commit is contained in:
10
addon/globalPlugins/voicemeeter/util.py
Normal file
10
addon/globalPlugins/voicemeeter/util.py
Normal 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
|
||||
Reference in New Issue
Block a user