Small cleanup in string.h and converted result_st macro to inline.