I got attribute from Selenium Element and it contains empty char or spaces:

When I double click the result :

What I tried so far :
string.replace(" ","") #didnt work
So I came with this resolution (I know its bad ):
edit1 = ticketID[:1]
ticketF = ticketID.replace(edit1,"")
edit2 = ticketF[:1]
ticketE = ticketF.replace(edit2,"")
edit3 = ticketE[:1]
ticketD = ticketE.replace(edit3,"")
What Im looking for is what is those blanks ? tabs ? new lines ? how to make it better ?
ticketID.replace("\n","")
ticketID.replace(" ","")
ticketID.strip()


