Teradata String Functions

FunctionDescriptionReturn TypeParameter
ConcatReturns concatenated string.StringString 1, String 2
CHAR2HEXINTReturns the hexadecimal representation for a character string. String expression
IndexReturns the starting position of string 2 inside string 1. Returns 0 if string 2 is not found.StringString, Search string
SoundexReturns a character string that represents the Soundex code for a string_expression.StringString expression
SubstringReturns the substring of the string provided.StringString, start position, length
TrimTrims blanks from a given string.StringLeading/Trailing/Both String to trim
VARGRAPHICReturns the VARGRAPHIC representation of the character data in a character_string_expression.StringString expression