You can either type in spoiler tags yourself, or switch to the full reply screen to use (there is a menu with buttons to add spoiler tags, lists, URL links, images, etc, and various text font/colour options, etc).
With added spaces in the tags so it stays in plain text,
[ spoiler]text to hide[ /spoiler]
becomes