How to split a string in Xquery?

thanks a lot. It is very helpful.