string: add static to support private methods

Signed-off-by: George K. Thiruvathukal <gkt@cs.luc.edu>
Merge branch 'energy' of github.com:sebhtml/biosal into granularity
Merge branch 'energy'