| 1449 | } |
| 1450 | |
| 1451 | void remove_substr_str(char *str, int start_index, int end_index) { |
| 1452 | int len = strlen(str); |
| 1453 | |
| 1454 | memmove(str + start_index, str + end_index + 1, len - end_index); |
| 1455 | str[len - (end_index - start_index) + 1] = '\0'; |
| 1456 | } |
| 1457 | |
| 1458 | void insert_i_str(char *str, char ch, int32_t index) { |
| 1459 | int len = strlen(str); |