MySQL read \n
#10

https://sampforum.blast.hk/showthread.php?tid=270547
See ******' post.

A working example of Grim_'s code would be:
pawn Код:
stock NewLine(str[])
{
    for (new i = 0; i < strlen(str); i++)
    {
        if (str[i] == '//') {
            if (str[i + i] == 'n') {
                strdel(str, i, i + 2);
                strins(str, "\n", i, sizeof (str));
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
MySQL read \n - by Siedler - 19.10.2011, 13:55
Re: MySQL read \n - by nilanjay - 19.10.2011, 14:03
AW: MySQL read \n - by Siedler - 19.10.2011, 14:06
Re: MySQL read \n - by nilanjay - 19.10.2011, 14:09
Re: MySQL read \n - by nilanjay - 19.10.2011, 14:13
AW: MySQL read \n - by Siedler - 19.10.2011, 14:21
Re: MySQL read \n - by Sinner - 19.10.2011, 15:07
AW: MySQL read \n - by Siedler - 24.10.2011, 12:01
AW: MySQL read \n - by Meta - 24.10.2011, 12:17
Re: MySQL read \n - by [NoV]LaZ - 24.10.2011, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)