I have a simple sentence in a string. I want to print each word on a new line or otherwise just do some calculation on each word?
Is there something similar to python's "Hello World".split()
in zig? Something like this:
var arr = std.strings.split("Hello world");