What better use?Also SQL Server does not come with a rich supply of mathematical function, but you could build more...Also you could build on the charachter parsing functionFor example you could create a function like:CREATE FUNCTION udf_WORDS (@str varchar(8000))RETURNS intASBEGIN DECLARE @Words INT, @Pos INT, @x Int SELECT @Words = 0, @Pos = 1, @x = -1 WHILE (@x <> 0) BEGIN SET @x = CHARINDEX(' ', @str, @Pos) SET @Pos = @x + 1 SET @Words = @Words + 1 END RETURN @WordsENDThis identifies how many words are in a string (delimited by a space).Brett8-)