format_escaped_str_contents
No overview available.
def format_escaped_str_contents(
contents: string
) - > string
Formats the contents of a string by escaping special characters to ensure it can be safely represented as a literal.
Parameters
| Name | Type | Description |
|---|---|---|
| contents | string | The raw string content that needs to be escaped. |
Returns
| Type | Description |
|---|---|
string | The processed string with special characters escaped for safe representation. |