P
Paul
hi, greetings,
I want to get the substring with the same prefix in a large string
(about 6K size ). like this,
$mystring="adfadfabcdefg234q34qwerqwerqewrqwerqwerabcdefgh12345dafsdfe4q35345abcdefghhherwrtwert3245234";
$pos1=index($mystring,"abcdefgh");
$substring=substr($mystring,$pos1,16);
In this way, I can get the first 16bit substring after "abcdefgh", the
questions is How can I get the 2nd, 3rd substring after "abcdefgh"?
thanks.
I want to get the substring with the same prefix in a large string
(about 6K size ). like this,
$mystring="adfadfabcdefg234q34qwerqwerqewrqwerqwerabcdefgh12345dafsdfe4q35345abcdefghhherwrtwert3245234";
$pos1=index($mystring,"abcdefgh");
$substring=substr($mystring,$pos1,16);
In this way, I can get the first 16bit substring after "abcdefgh", the
questions is How can I get the 2nd, 3rd substring after "abcdefgh"?
thanks.