DCT.Parsing.Parser.CutLeading C# (CSharp) Method

CutLeading() static private method

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;
            }
        }

Same methods

Parser::CutLeading ( string sub ) : void