left returns a subsequence of string str, taking count characters from the beginning of the string.
If count is zero an empty string '' is returned.
If length of str is less than count then a copy of the whole str is returned.
left('AbracadabrA',4) -> 'Abra'