MySQL String ORD Function

MySQL String ORD Function 1

The MySQL string ORD function is one of the MySQL String Functions, which is to find the code of the leftmost character in a string. If the leftmost character is multibyte, the ORD function uses the formula to calculate the code: (1st-byte code) + (2nd-byte code *256) + (3rd-byte code * 256^2)…. If the leftmost character … Read more