ExtractField function

Extract delimiter information from a string.