human
cut string by length.
assistant
Here is a Python function to cut string by length

import pandas as pd

def cut_string(s, length):
    """ Cut string by length. """
    return s[:length]

# Enter the string
s ="orange automobil"

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

#Example Output
# orang

#Remember to inspect code for bugs.