<human>:  Can you show me a Python function to break a string up into a tuple.
<bot>: Here is a Python function to break a string up into a tuple

import re

def split_string(string, delimiter):
  """
  Split a string up into a tuple of strings using a delimiter.
  """
  return tuple(string.split(delimiter))

# Enter the string
string = "This is a string"

# Calling the function
print((split_string(string, " ")))

#Example Output
# ('This', 'is', 'a', 'string')

#Remember to inspect code for bugs.