LumiSoft.Net.Core.GetArgsText C# (CSharp) Method

GetArgsText() public static method

Gets argument part of command text.
public static GetArgsText ( string input, string cmdTxtToRemove ) : string
input string Input srting from where to remove value.
cmdTxtToRemove string Command text which to remove.
return string
        public static string GetArgsText(string input,string cmdTxtToRemove)
        {
            string buff = input.Trim();
            if(buff.Length >= cmdTxtToRemove.Length){
                buff = buff.Substring(cmdTxtToRemove.Length);
            }
            buff = buff.Trim();

            return buff;
        }