What does the substring function do? The answer i found online doesn't seem to be accurate. I thought that it reads the (#) index and everything after, but I guess that is wrong. The other functions that look wierd are already part of a class, i am just confused on how the substring function works, trying to decipher over a thousand lines of code and don't understand the small things in C# that aren't in C++. Ty for the help
Here is my example
size=2699309
if (line.StartsWith("size="))
{
patch.FileSize = int.Parse(line.SubString(5));
continue;
}