strtolower?
#4

Quote:
Originally Posted by AndreT
Посмотреть сообщение
Try to implement the logic yourself. You have to create a function that takes all the characters in string A and applies the function tolower (https://sampwiki.blast.hk/wiki/Tolower) on them, then puts them in string B in the same order.
Yeah! That was my plan B if there is no built-in function. Thank you

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
PHP код:
#define strLower(%0) \
                
static ie0strlen(%0); for( ; != e; ++i) %0[i] |= (<< 5)// By zSuYaNw 
how to use
PHP код:
new ASD[200];
       
ASD "THE BOMB HAS BEEN PLANTED";
strLower(ASD);
printf(ASD); 
Out: the bomb has been planted
Thank you for that macro, can you explain it? There are things I've never seen before like |=
Reply


Messages In This Thread
strtolower? - by Kemula - 30.05.2016, 19:35
Re: strtolower? - by AndreT - 30.05.2016, 19:39
Re: strtolower? - by zSuYaNw - 30.05.2016, 19:49
Respuesta: Re: strtolower? - by Kemula - 30.05.2016, 21:01
Re: strtolower? - by Vince - 30.05.2016, 22:06
Re: strtolower? - by SickAttack - 31.05.2016, 01:29
Re: strtolower? - by SyS - 31.05.2016, 02:51
Re: strtolower? - by SickAttack - 31.05.2016, 03:07
Re: strtolower? - by justice96 - 31.05.2016, 03:10
Respuesta: Re: strtolower? - by Kemula - 31.05.2016, 08:02

Forum Jump:


Users browsing this thread: 1 Guest(s)