Even so the string.Format() method is not deterministically revertable, I need a simple method that at minimum detects if a given formatted string could be the result of a string.Format() on a given format string. E.g.:
string formattedString = "This is a cool, cool, cool string"
string formatString = "This is a cool, {0} string"
bool IsFormatCandidate(formatString, formattedString)
Does such an algorithm exist and could optionally one (or even all) possible argument list(s) be returned?