HTMLchunk.MakeSafeParamValue Method

Majestic12

High-performance .NET C# HTMLparser Library

HTMLchunk.MakeSafeParamValue Method 

Makes parameter value safe to be used in param - this will check for any conflicting quote chars, but not full entity-encoding

public static string MakeSafeParamValue(
   string sLine,
   char cQuoteChar
);

Parameters

sLine
Line of text
cQuoteChar
Quote char used in param - any such chars in text will be entity-encoded

Return Value

Safe text to be used as param's value

See Also

HTMLchunk Class | Majestic12 Namespace