I'm needing a code where I can type in something in in a text box, and it reads the first word of it, exampe:

If I type chat something
It prints this in the label box: You chat:Hello

If I type buy something
It prints: You bought something