say i have $answer = 'apple'
what i want to achieve is getting the string masked and show only 1/3 of the original letters and place this in $hint
So $hint could be *p*** or **p*e
It seemed to me that when $ran was 2 for example, this line
substr($hint, $ran, $ran) = substr($answer, $ran...