format_escaped_str
No overview available.
def format_escaped_str(
input_str: string
) - > string
Escapes special characters in a string to ensure it is safe for use in formatted output or shell commands.
Parameters
| Name | Type | Description |
|---|---|---|
| input_str | string | The raw string containing characters that require escaping. |
Returns
| Type | Description |
|---|---|
string | The sanitized string with all necessary escape sequences applied. |