sswift #1 Thanks Cold, but I already solved the problem, and JimB's snippet is what I based the function I put in the code archives on. :-)www.blitzbasic.com/codearcs/codearcs.php?code=1290