Mono.Moma.TextFileLoader.GetValue C# (CSharp) Method

GetValue() static private method

static private GetValue ( string line ) : string
line string
return string
        static string GetValue(string line)
        {
            if (String.IsNullOrEmpty (line))
                return null;

            if (line [0] != '@')
                return null;

            int idx = line.IndexOf (':');
            if (idx == -1 || line.Length - 2 > idx)
                return null;

            return line.Substring (idx + 2);
        }