Skip to content

Instantly share code, notes, and snippets.

@mhdelta
Created December 16, 2019 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhdelta/e1747824b48a5a549568a206ca825ce2 to your computer and use it in GitHub Desktop.
Save mhdelta/e1747824b48a5a549568a206ca825ce2 to your computer and use it in GitHub Desktop.
if (varType == "@DT")
{
int start = i + 4; // starting (
int end = config.IndexOf(")", start);
string format = config.Substring(start, end - start);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment