Also, you might try:

trim(elements(ubound(elements)-2)).trim(elements(ubound(elements) -1)) = trim(elements(ubound(elements)))

JS