The following is a revised patch for the stringbuilder module. Changes: - More test coverage (e.g. single element case) - Simplification of some functions - Arguments re-ordered to place the output arguments first - stringbuilder_array arguments re-ordered and re-named to place the size of the 'strings' array ahead of strings.