How to replace each letter on each position?
ex.
$word = compare price
/* if letter position = a => replace q,w,s,x,z on a
if letter position = b => replace v,f,g,h,n on b
if letter position = c => replace x,s,d,f,v on c
if letter position = o => replace i,k,l,p on o
if letter position = m => replace n,h,j,k on m
if letter pos..
.
.
.
and the result will be :
xompare price --- letter position 1 changed.
sompare price --- letter position 1 changed.
dompare price --- letter position 1 changed.
fompare price --- letter position 1 changed.
vompare price --- letter position 1 changed.
cimpare price --- letter position 2 changed.
ckmpare price --- letter position 2 changed.
clmpare price --- letter position 2 changed.
cpmpare price --- letter position 2 changed.
. --- letter position 3 changed.
.
.
till end position
*/
What's the script?
Thank you.