Jump to content

Archived

This topic is now archived and is closed to further replies.

Jocka

Changing the alphabet

Recommended Posts

I know it's possible, I've seen it done but I've completely forgotten how they did it. I tried simple things like str_replace, preg_replace, etc.. But then after a few mistakes I finally realized that I was replacing some letters OVER and OVER. the script didn't keep looping, i just lost the alphabet I set.
Anyway, I just want a-z and 0-9 to be changed to what I want. how do I do it?

Share this post


Link to post
Share on other sites
Is [url=http://www.php.net/strtr]strtr()[/url] what you are looking for?

Share this post


Link to post
Share on other sites
[quote author=Barand link=topic=103224.msg410939#msg410939 date=1154910222]
Is [url=http://www.php.net/strtr]strtr()[/url] what you are looking for?
[/quote]
maybe.. but i don't wanna retype all that. I'm gonna find a way to blend arrays, if I can't, oh well. I guess i'll just go the LONG way.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.