Produce a logic in Python to truncate a given string after the given number of characters.
String = "Hello World", length = 4
def string_truncate(string, length):
    if length > len(string):
        return string
    else:
        return string[:length] + '...'