語法
LEFT(str,len)
Returns the leftmost len characters from the string str, or NULL if any argument is NULL.
返回從字符串str最左邊的len個字符,如果任一參數為null則返回null。
RIGHT(str,len)
Returns the rightmost len characters from the string str, or NULL if any argument is NULL.
返回從字符串str最右邊的len個字符,如果任一參數為null則返回null
實例
