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("<", "<"); sText = sText.Replace(">", "&rt;"); sText = sText.Trim(); //int pos = sText.IndexOf("script"); //if (pos>0)
//< output > return sText; //</ output > //--------</ correct_String() >-------- }
} |