def METHOD_NAME(input_name):
  prefix = ''
  node_name = ''
  suffix = ''
  if input_name.startswith('^'):
    prefix = '^'
    input_name = input_name[1:]
  input_parts = input_name.split(':')
  if len(input_parts) < 2:
    suffix = ''
  else:
    suffix = ':' + input_parts[1]
  node_name = input_parts[0]
  return prefix, node_name, suffix