Use of strip()

Started by KAKAN, Oct 10, 2015, 01:05 PM

Previous topic - Next topic

KAKAN

I saw a function strip in my script(ADM), I can't understand what it is.
So, I searched for it in Squirrel guide, and I found nothing.
Here's the cmd having strip() function.
    else if ( cmd == "players" )
    {
        local plr, buffer = "";       
        foreach(playerid in playerson )
        {
            plr = FindPlayer( playerid );
            if ( plr ) buffer = buffer + " " + plr.Name + "[" + plr.ID + "]";
        }
        if ( buffer != "" )
        {
        Message(">> Online Players: " + strip(buffer) );
        Message(">> Total players: " + GetPlayers() + "/" + GetMaxPlayers() );
        } else Message(">> No players online.");
    }
So can anyone tell me what does this strip() function does?
oh no

KAKAN

Oh! I got it.!
Locked, Solved
Got it from this site:-
http://squirrel-lang.org/doc/sqstdlib3.html
oh no