UrlEncodingEncode(String) Method

Converts a String to its escaped representation.

Definition

Namespace: FolkerKinzel.Strings
Assembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
C#
public static string Encode(
	string stringToEscape
)

Parameters

stringToEscape  String
The String to escape.

Return Value

String
The escaped representation of stringToEscape.

Exceptions

ArgumentNullExceptionstringToEscape is null.

See Also