def parseValue(formatString):
    """Returns the value type of data item from MXElectrix data message.
       The value type is taken to be everything before opening bracket [."""
    sep = formatString.find("[")
    if sep < 0:
        return ""
    else:
        return formatString[:sep]