Created str.hand function for string length