示例#1
0
        /// <summary>
        /// Split with =
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public static (string key, int value) DelimiterInt(string data)
        {
            var v = Delimiter(data);

            return(v.key, ConvertHelper.Int(v.value));
        }
示例#2
0
        /// <summary>
        /// Split with :
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public static (string key, int value) SplitInt(string data)
        {
            var v = Split(data);

            return(v.key, ConvertHelper.Int(v.value));
        }