UTF8RIGHT( )

The function treats characters that are coded based on UTF-8 like single-byte characters. Returns the length rightmost characters in string. If length (must be a non-negative whole number) is greater than the length of string, the result is padded on the left with the necessary number of padchars to make it as long as length specifies. Padchar defaults to <space>.

UTF8RIGHT(string,length[,padchar])

Examples

UTF8RIGHT('Hello World',5) 			' World'
UTF8RIGHT('Hello World',3) 			'rld'
UTF8RIGHT('Hello World',13) 			' Hello World'
UTF8RIGHT('Hello World',13,'*') 		'**Hello World'