string_operators module
This module contains basic string operations.
- string_operators.concatenate(str1, str2)[source]
Concatenates two strings.
Parameters: str1 (str): The first string. str2 (str): The second string.
Returns: str: The concatenation of the two strings.
- string_operators.count_vowels(string)[source]
Counts the number of vowels in a string.
Parameters: string (str): The string to check.
Returns: int: The number of vowels in the string.