Write a Python program to split a given string into substrings of fixed length, and print the substrings in a single line seperated by comma.
PythonProgramming
def split_string(string, length):
    substrings = [string[i:i+length] for i in range(0, len(string), length)]
    return ','.join(substrings)