How to cut a string in php to a specific character?

Closed due to the fact that the essence of the issue is incomprehensible by the participants of Kromster , fori1ton , Android Android , rjhdby , Yaroslav Molchan Jun 3 '17 at 6:37 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

1 answer 1

string substr ( string $string , int $start [, int $length ] ) 

Returns a substring of the string string starting at the start of the character by count and length of characters.