You can use indexing on strings, so the body of this method could just be:
  return_letters[0...number_of_letters]