anche se e' e'strano perche' ho usato il replace:

user=replace(user, " ' ", " ' ' " )