Example #1
0
        private string ParseStr(string lyric)
        {
            string tmpclearlyric = lyric;
            string prefix        = Functs.GetLyricPrefix(tmpclearlyric);
            string postfix       = Functs.GetLyricPostfix(tmpclearlyric);

            if (prefix != "")
            {
                tmpclearlyric = tmpclearlyric.Replace(prefix, "");
            }
            if (postfix != "")
            {
                tmpclearlyric = tmpclearlyric.Replace(postfix, "");
            }
            return(tmpclearlyric);
        }
Example #2
0
        private void Parse(string lyric)
        {
            _ClearlyLyric = lyric;
            string prefix  = Functs.GetLyricPrefix(_ClearlyLyric);
            string postfix = Functs.GetLyricPostfix(_ClearlyLyric);

            if (prefix != "")
            {
                _ClearlyLyric = _ClearlyLyric.Replace(prefix, "");
            }
            if (postfix != "")
            {
                _ClearlyLyric = _ClearlyLyric.Replace(postfix, "");
            }
            _FixName = Functs.GetLyricPPFixName(prefix, postfix);
        }