Hello, its me again..
I use this lib: https://github.com/oscar-broman/strl...ter/strlib.inc
(from Y_Less)
and made this function:
Basically, this function should replace all chars from the search array to the chars from replace array.
But the output still is abc.
Whats wrong?
I use this lib: https://github.com/oscar-broman/strl...ter/strlib.inc
(from Y_Less)
and made this function:
Code:
stock encryptDecrypt(data[])
{
new search[] = {"a", "b", "c"};
new replace[] = {"d", "e", "f"};
strreplace(data, search, replace, true, 0, -1, strlen(data));
return data;
}
Code:
encryptDecrypt("abc")
Whats wrong?