String Functions Flashcards
Returns the ASCII character based on the number code
CHAR
Returns the location of a substring in a string
CHARINDEX
Concatenates two or more strings together
CONCAT
Concatenates two or more strings together, and separates the concatenated string values with the specified delimiter
CONCAT WS
Returns the length of an expression (in bytes)
DATALENGTH
Compares two SOUNDEX values, and returns an integer value
DIFFERENCE
Extracts a substring from a string (starting from left)
LEFT
Returns the length of the specified string
LEN
Converts a string to lower-case
LOWER
Removes leading spaces from a string
LTRIM
Returns the Unicode character based on the number code
NCHAR
Returns the location of a pattern in a string
PATINDEX
Replaces a sequence of characters in a string with another set of characters
REPLACE
Repeats a string value a specified number of times
REPLICATE
Reverses a string and returns the result
REVERSE