Added merge method in StringUtil