In this version, I used substr
and strpos
instead of concatenating strings and finding a char in the string for better performance.
At the end I get 2x faster performance.
In this version, I used substr
and strpos
instead of concatenating strings and finding a char in the string for better performance.
At the end I get 2x faster performance.