(s, color=False)
return s
strip(s, color=False) -> str

    Strips the : from the start of a string
    and optionally also strips all colors if
    color is True.

    :param s str: string to process
    :param color bool: whether to strip colors

    :returns str: returns processes string
strip(s, color=False) -> str
strip ( s color = False ) - > str
def strip(s, color=False):
    """strip(s, color=False) -> str

    Strips the : from the start of a string
    and optionally also strips all colors if
    color is True.

    :param s str: string to process
    :param color bool: whether to strip colors

    :returns str: returns processes string
    """

    if len(s) > 0:
        if s[0] == u(":"):
            s = s[1:]
    if color:
        s = s.replace(u("\x01"), u(""))
        s = s.replace(u("\x02"), u(""))
    return s
def strip ( s , color = False ) : if len ( s ) > 0 : if s [ 0 ] == u ( ":" ) : s = s [ 1 : ] if color : s = s . replace ( u ( "\x01" ) , u ( "" ) ) s = s . replace ( u ( "\x02" ) , u ( "" ) ) return s