I have a String, let's say:
$needle = "HELLO";
And I have another String I want to find $needle in, let's say:
$haystack = "HELLO WORLD";
I know there are methods which return the position as an int etc. but how could I then color that very string when it's being output? I made myself an array with some chars in it which are being output randomly like 2000 times and I'd like to see them in color when they make up the right word.