I'll try and find another solution. Thanks.
Domingo, 27 de Janeiro de 2013 3:18:44 UTC, Andy Balholm escreveu:
On Saturday, January 26, 2013 7:00:56 PM UTC-8, Celso Miranda wrote:
I've also noted that if I input a setence into a string, only the first
word is returned. "my name is celso" outputs "my". I don't know if this is
related or not. :/
fmt.Scanln, like scanf in C, reads space-separated tokens. So when youI've also noted that if I input a setence into a string, only the first
word is returned. "my name is celso" outputs "my". I don't know if this is
related or not. :/
scan a string, you get one word.