since I am new to php, and after googling :) I still could not find what I wanted to do.
I managed to find the start and end position in the string that I want to extract, but most examples use strings or characters or integers to get a string between them, but I could not find a string consisting of two positions.
For example: $ string = "This is a test trying to extract"; $ pos1 = 9; $ pos2 = 14;
Then I got lost. I need to get text between positions 9 and 14 of a line. Thank you
source share