I have a list of values โโseparated by a semicolon, for example:
strins s = "param1=true;param2=4;param3=2.0f;param4=sometext;";
I need functions:
public bool ExtractBool(string parameterName, string @params); public int ExtractInt(string parameterName, string @params); public float ExtractFloat(string parameterName, string @params); public string ExtractString(string parameterName, string @params);
Are there any special features in .net that can help me with semicolon separated?
PS: parameter names are equal inside the list.
Alexander D.
source share