How about:DECLARE @x varchar(8000)SELECT @x = 'This is a test of the emergeny brodacast system'SELECT SUBSTRING(@x,1,60), REPLACE(REPLACE(REPLACE(@x,' ',' '),' ',' '),' ',' ')
Should take care of up to 9 spaces I think...And to get crazy...This should take care of up to 20 positionsDECLARE @x varchar(8000)SELECT @x = 'This is a test of the emergeny brodacast system'SELECT SUBSTRING(@x,1,60), REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @x ,' ',' ') ,' ',' ') ,' ',' ') ,' ',' ') ,' ',' ')
Brett8-)SELECT @@POST FROM Brain ORDER BY NewId()That's correct! It's an AlphaNumeric!