11.01.2019, 13:26
Why does this strreplace(path, " ", "_"); give me an error error 035: argument type mismatch (argument 2)
stock strreplace(string[], find, replace)
{
for(new i=0; string[i]; i++)
{
if(string[i] == find)
{
string[i] = replace;
}
}
}
Basically wanna check if there's space and replace it with "_"
stock strreplace(string[], find, replace)
{
for(new i=0; string[i]; i++)
{
if(string[i] == find)
{
string[i] = replace;
}
}
}
Basically wanna check if there's space and replace it with "_"