Mega Code Archive

 
Categories / MSSQL Tutorial / String Functions
 

Select SUBSTRING((559) 555-1212, 7, 8)

2>  select SUBSTRING('(559) 555-1212', 7, 8) 3> GO -------- 555-1212 (1 rows affected)