25.08.2018, 17:22
Try this,
How are you calling Reverse and what is it being passed?
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 i = 0; i < strlen(string); i++)
{
string1[i] = string[(lengthOfString-i)];
}
// Returning processed string
return string1;
}