Как я могу найти данный текст внутри строки? После этого я хотел бы создать новую строку между этим и другим. Например...
Если строка была:
This is an example string and my data is here
И я хочу создать строку с тем, что находится между "моим" и "есть", как я могу это сделать? Извините, это довольно псевдо, но, надеюсь, это имеет смысл.