Truncate the string if it exceeds 32767 characters and append '...'. :param string: The string to truncate. :return: The truncated string.
(string)
| 191 | return output_list |
| 192 | |
| 193 | def cap(string): |
| 194 | """ |
| 195 | Truncate the string if it exceeds 32767 characters and append '...'. |
| 196 | |
| 197 | :param string: The string to truncate. |
| 198 | :return: The truncated string. |
| 199 | """ |
| 200 | if len(string) > 32767: |
| 201 | return string[:32764] + '...' |
| 202 | return string |
| 203 | |
| 204 | def convert_nested_to_json_for_excel(input_list): |
| 205 | """ |
no outgoing calls
no test coverage detected