The first Replace cmd works properly but after the second one it don't replace ".mp3" It should return "woohoo" but i've got "woohoo." or "blocker.mp" What is wrong with that code?
soundfile:
fun/woohoo.mp3
fun/blocker.mp3
PHP Code:
ReplaceString(g_chattrigger[i], sizeof(g_chattrigger[]), "fun/", "");
ReplaceString(g_chattrigger[i], sizeof(g_chattrigger[]), ".mp3", "");