vendor string helper functions.