MySQL String ORD Function

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 … Read more