Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Web Api Client-Server 20180704: Part 3) clsCheck.cs

04.07.2018 (👁3829)

UWP webRobot 20180704: Part3) clsCheck.cs

 

Platform: UWP Univesal Windows 10 Platform App

Sprache: C#

clsCheck.cs

Korrektur Klasse

Zur Anpassung von HTML zu Text

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

 

 

    public static class clsCheck

    {

        public static string correct_String(string sText)

        {

            //--------< correct_String() >--------

 

            sText = sText.Replace("'""''");

            sText = sText.Replace("<""&lt;");

            sText = sText.Replace(">""&rt;");

            sText = sText.Trim();

            //int pos = sText.IndexOf("script");

            //if (pos>0) 

 

            //< output >

            return sText;

            //</ output >

            //--------</ correct_String() >--------

        }

 

    }