CMS_Migration_Utility.formMigration.SwapTags C# (CSharp) Method

SwapTags() private method

private SwapTags ( ) : void
return void
        private void SwapTags()
        {
            string[] tagsToFind = { "<h2", "</h2", "<h3", "</h3", @" title=""null""" };
            string[] tagReplacments = { "<h4", "</h4", "<h5", "</h5", "" };

            for (int i = 0; i < tagsToFind.Length; i++)
            {
                centerContent = centerContent.Replace(tagsToFind[i], tagReplacments[i]);
            }
        }