append one string onto another and add some "glue" if none of the strings is empty or null. Source: core/String.js, line 669