1. In the first example it should be:

    >print(strsplit(" ", "This is a string"))

    This, is, a, string

  2. In the first example it should be:

    >print(strsplit(" ", "This is a string"))

    This, is, a, string