Add str class helper

Signed-off-by: crynobone <crynobone@gmail.com>