CharExtensionsRegexEncode Method
Encodes the specified Unicode character in proper Regular Expression format.
Namespace: Gemstone.CharExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static string RegexEncode(
this char item
)
<ExtensionAttribute>
Public Shared Function RegexEncode (
item As Char
) As String
public:
[ExtensionAttribute]
static String^ RegexEncode(
wchar_t item
)
Gemstone.CharExtensions.CharExtensions.RegexEncode = function(item);
- item Char
- Unicode character to encode in Regular Expression format.
StringSpecified Unicode character in proper Regular Expression format.In Visual Basic and C#, you can call this method as an instance method on any object of type
Char. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).