On February 13, 2014 4:22:45 PM CET, Manlio Perillo <manlio.peri...@gmail.com> 
wrote:
>
>
>Quindi direi che le stringhe in Go non sono "vere" stringhe, come in
>Python:
>http://play.golang.org/p/6Q7KoyuEA1
>
>Il programma stampa 6, non 2 come mi sarei aspettato da un linguaggio 
>che supporta un tipo builtin per le stringhe.
>


Import "unicode/utf8"
utf8.RuneCountInString

Concordo con te però sul fatto che non fa certo ciò che ci si aspetterebbe da 
una stringa di testo

-- 
Sent from mobile. Please excuse my brevity.
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a