Replacing characters inside a string
#8

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Yeah, YW again!

Just another thing, warping a character in single quotes gives you its numeric value.
If you want it even simpler, this works as well:

PHP код:
new letterList[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Or you can use minrandom/randomEx with 'A' through 'Z', cutting out the array entirely.
Reply


Messages In This Thread
Replacing characters inside a string - by TwinkiDaBoss - 16.11.2016, 00:08
Re: Replacing characters inside a string - by SickAttack - 16.11.2016, 00:20
Re: Replacing characters inside a string - by TwinkiDaBoss - 16.11.2016, 00:32
Re: Replacing characters inside a string - by SickAttack - 16.11.2016, 00:43
Re: Replacing characters inside a string - by TwinkiDaBoss - 16.11.2016, 00:55
Re: Replacing characters inside a string - by SickAttack - 16.11.2016, 00:59
Re: Replacing characters inside a string - by TwinkiDaBoss - 16.11.2016, 01:03
Re: Replacing characters inside a string - by Vince - 16.11.2016, 05:24

Forum Jump:


Users browsing this thread: 1 Guest(s)