<human>:  What is a good Python function to cut string by length.
<bot>:

# Enter the string
s ="orange automobil"

# Calling the function
print((cut_string(s, 5)))

#Example Output
# orang

#Remember to inspect code for bugs.