SOLUTION:
In case anyone else has this question I figured it out!
translate(normalize-space(Groups-Users), " ", ";")
Remove the spaces which for some reason does not remove all spaces then translate that one space in a semicolon! :)