Module my_autopylot.string39
Functions
def string_extract_only_alphabets(inputString='')
-
Description
Returns only alphabets from given input string
Args
inputString
- A string representing the name of the module to be installed.
Returns
A boolean representing whether the module was installed successfully.
def string_extract_only_numbers(inputString='')
-
Description
Returns only numbers from given input string
Args
inputString
- A string representing the name of the module to be installed.
Returns
A boolean representing whether the module was installed successfully.
def string_extract_substring(string: str, start_word: str, end_word: str, include_start_word=False, include_end_word=False)
-
Description
Extracts substring from a string.
Args
string
:[type]
- [description]
start_word
:[type]
- [description]
end_word
:[type]
- [description]
include_start_word
:bool
, optional- [description]. Defaults to False.
include_end_word
:bool
, optional- [description]. Defaults to False.
Returns
Status - Whether the substring was extracted or not.
def string_remove_special_characters(inputStr='')
-
Description
Removes all the special character.
Args
inputStr
- A string representing the name of the module to be installed.
Returns
Status - A boolean representing whether the module was installed successfully.