17.06.2016, 21:27
Hello, its me again..
I use this lib: https://github.com/oscar-broman/strl...ter/strlib.inc
(from ******)
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 ******)
and made this function:
Код:
stock encryptDecrypt(data[]) { new search[] = {"a", "b", "c"}; new replace[] = {"d", "e", "f"}; strreplace(data, search, replace, true, 0, -1, strlen(data)); return data; }
Код:
encryptDecrypt("abc")
Whats wrong?