SQL – MySQL LTRIM() Function
The MySQL LTRIM() function removes leading spaces from a string.
The MySQL MID() function extracts a substring from a string, starting at any position from the beginning or end of the string.
The MySQL POSITION() function returns the position of the first occurrence of a case-insensitive substring in a string.
The MySQL REPEAT() function repeats a string as many times as specified.
The MySQL REPLACE() function replaces all case-sensitive occurrences of a substring within a string, with a new substring.
The MySQL REVERSE() function reverses a string and returns the result.
The MySQL RIGHT() function extracts a number of characters from a string, starting from right.
The MySQL RPAD() function right-pads a string with another string, to achieve a specified length.
The MySQL SPACE() function returns a string of the specified number of space characters.
The MySQL SUBSTR() function extracts a substring from a string, starting from any position.
The MySQL SUBSTRING() function extracts a substring from a string, starting from any position.
The MySQL SUBSTRING_INDEX() function returns a substring of a string before a specified number of delimiter occurs.
The MySQL TRIM() function removes leading and trailing spaces from a string.
The SQL Server ASCII() function returns the ASCII value for the specified character.
The SQL Server CHAR() function returns the character based on the ASCII code specified.
The SQL Server CHARINDEX() function searches for a substring in a string, and returns the position. If the substring is not found, this function returns 0.