swap string
#1

hi, i need to swap all '_' to spaces, how i can do this?

i tried some like this,but I received an error error 006: must be assigned to an array
PHP код:
for(new strlen(Player_RName[playerid])-1!= -1i--) 
    { 
        switch(
Player_RName[playerid][i]) 
        { 
            case 
'_'Player_RName[playerid][i] = " ";
        } 
    } 
Reply


Messages In This Thread
swap string - by CodeBreaker - 01.08.2015, 18:53
Re: swap string - by xVIP3Rx - 01.08.2015, 19:07
AW: swap string - by Kaliber - 01.08.2015, 19:10
Re: swap string - by CodeBreaker - 01.08.2015, 19:14
Re: AW: swap string - by xVIP3Rx - 01.08.2015, 19:22
AW: Re: AW: swap string - by Kaliber - 01.08.2015, 19:24
Re: AW: Re: AW: swap string - by xVIP3Rx - 01.08.2015, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)