<human>:  Can you show me a Python program to cut string by length.
<bot>:

# Enter the string
string = "hello world"

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

#Example Output
# hello

#Remember to inspect code for bugs.