Reverse string
#2

Try this,

How are you calling Reverse and what is it being passed?

PHP код:
Function:Reverse(string[])
{
         
// Setting vars
    
new string1[256];
               
lengthOfString strlen(string);
        
// Processing 
    
for(new 0strlen(string); i++)
    {
        
string1[i] = string[(lengthOfString-i)];
    }
        
// Returning processed string
    
return string1;

Reply


Messages In This Thread
Reverse string - by XStormiest - 25.08.2018, 17:15
Re: Reverse string - by KieranDyer - 25.08.2018, 17:22
Re: Reverse string - by XStormiest - 25.08.2018, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)