COALESCE()

SELECT 
	Name, 
	Class, 
	Color, 
	ProductNumber,
	COALESCE(Class, Color, ProductNumber) AS [FirstNotNull]
FROM Production.Product;

SUBSTRING()

SELECT SUBSTRING('abcde', 1, 3); -- 'abc'

RIGHT(), LEFT()

SELECT RIGHT('abcde', 3); -- 'cde'
SELECT LEFT('abcde', 3); -- 'abc'

LEN()

SELECT LEN(N'abcde'); -- 5

DATALENGTH()

SELECT DATALENGTH(N'abcde'); -- 10

CHARINDEX()

SELECT CHARINDEX(' ','Itzik Ben-Gan A'); -- 6

PATINDEX()