[Solved] How do i start text str_split after some characters

it may not be possible by str_split as ‘again’ has 5 characters. you can get ‘from’, ‘here’ by following code. $txt = “lookSTARTfromhereSTARTagainhere”; $txt = str_replace(‘look’,”,$txt); $txt = str_replace(‘START’,”,$txt); $disp = str_split($txt, 4); for ($b = 0; $b<3; $b++) { echo “$disp[$b]”; } solved How do i start text str_split after some characters

[Solved] java characters in a string

This should do it. What it does is that it gets a string to look at, gets a character to look at, iterates through the string looking for matches, counts the number of matches, and then returns the information. There are more elegant ways to do this (for example, using a regex matcher would also … Read more