stringtools.cpp #3