I can see how this would be useful as a mySQL function, but I haven\'t found a use for it yet in PHP code.