(self, name)
return new_name
Strips unnecessary components from the start of a symbol name.
Strips unnecessary components from the start of a symbol name.
Strips unnecessary components from the start of a symbol name .
def name_strip(self, name):
        """Strips unnecessary components from the start of a symbol name."""
        new_name = name

        if new_name[:1] in ["_", "@", "\u007F"]:
            new_name = new_name[1:]

        name_array = new_name.split("@")
        if len(name_array) == 2:
            if name_array[1].isnumeric() and name_array[0][0] != "?":
                new_name = name_array[0]
            else:
                new_name = name

        return new_name
def name_strip ( self , name ) : new_name = name if new_name [ : 1 ] in [ "_" , "@" , "\u007F" ] : new_name = new_name [ 1 : ] name_array = new_name . split ( "@" ) if len ( name_array ) == 2 : if name_array [ 1 ] . isnumeric ( ) and name_array [ 0 ] [ 0 ] != "?" : new_name = name_array [ 0 ] else : new_name = name return new_name