Be careful.
Because it only formats stdin streams to into string(s), xargs can be very dangerous, depending on the command to which the arguments are being passed.
Xargs used to be a practical way to get around bash globbing issues and parenthetical clause behavior, but most commands have alternate and safer ways of handling passed arguments.
find -exec is preferable to xargs to avoid file expansion "bombs", plus find doesn't involve the shell, so it doesn't care about whitespace problems.