Supprimer n chaîne

a_string = a_string.rstrip("\n")
Faithful Flamingo