On Tue, Feb 20, 2018 at 9:51 PM <buc...@gmail.com> wrote:

> But instead the second fmt.Println() output implies that it grabbed more
than one word.
>
> I'm a noob and puzzled by this behavior.

I don't know how the concept of word got involved in the "expected"
behavior, but the code shown has nothing to do with something like "word".
It works purely with strings and slices of strings and is AFAICT working as
intended.


-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to