[PATCH v1 2/3] string: Move onoff() helper under string.h hood