static private CutLeading ( string whole, string cutoff ) : string | ||
whole | string | |
cutoff | string | |
return | string |
internal static string CutLeading(string whole, string cutoff)
{
try
{
return whole.Substring(whole.IndexOf(cutoff) + cutoff.Length);
}
catch (ArgumentOutOfRangeException)
{
return ERR_CONST;
}
}
Parser::CutLeading ( string sub ) : void |