I have a string x: x = "{abc}{def}{ghi}" And I need to print the string between second { and second }, in this case def. How can I do this without knowing the length of the string? For example, the string x could also be {abcde}{fghij}{klmno}"
Aucun commentaire:
Enregistrer un commentaire