int MGOvalue (char *string, char *value, int size, int opt)
The MGOvalue() function parses a key-value string and returns the value part. size is the maximum number of characters to copy into value. opt controls how the value is post-processed. It can be one or more of:
Returns the number of characters in value if the value part is present, or -1 if not present or the result is larger than size.