28.09.2014, 23:38
I thought I could use strdel starting at the beginning of the extension and ending at the length of the filename... However,
This doesn't remove the extension:
How do i remove the extension!
Ahead of time, thanks to all for any help!
This doesn't remove the extension:
pawn Код:
if(strfind(item, ".ini") != -1)
{
strdel(item, item[strfind(item, ".ini")], item[strlen(item)]);
format(line, sizeof(line), "%s\n%s", item, line);
fcount++;
}
Ahead of time, thanks to all for any help!