`` with ``O``.
::
MatchExpression(string input, string searchExpressionAsString, string replacement):
Return success of match for ``matchExpressionAsString`` in ``input``.
.. note::
`Expresso Regular Expression Tool`_
.. _Expresso Regular Expression Tool:
http://www.codeproject.com/dotnet/RegexTutorial.asp
Returns:
Boolean.
Example:
Contains 3-4 "a"s?
::
MatchExpressionValue(string input, string matchExpressionAsString):
Return value of match for ``matchExpressionAsString`` in ``input``.
.. note::
`Expresso Regular Expression Tool`_
.. _Expresso Regular Expression Tool:
http://www.codeproject.com/dotnet/RegexTutorial.asp
Returns:
String.
Example:
Value of 3-4 "a"s.
::
ReplaceWithExpression(string input, string searchExpressionAsString, string replacement):
Replace all occurances of ``searchExpressionAsString`` in ``input`` with ``replacement``.
.. note::
`Expresso Regular Expression Tool`_
.. _Expresso Regular Expression Tool:
http://www.codeproject.com/dotnet/RegexTutorial.asp
Returns:
String.
Example:
Replace runs of 3-4 "a"s with "\. ".
::
CSSClassName(string styleName):
Convert the given string into a valid CSS class name.
Returns:
String.
Example:
Convert ``Blue_Moon.Detective;Agency`` into a valid CSS style name.
::
WebWorksHelpContextOrTopic(string value):
Converts the given string intto a valid WebWorks Help context or topic string.
.. note::
WebWorks Help context and topic strings may only contain the characters A-Z, a-z, 0-9, and ``_``.
Returns:
String.
Example:
Convert ``A long time...`` into a valid WebWorks Help context or topic name.
::
MD5Checksum(string value):
Compute the MD5 checksum on the given string.
Returns:
MD5 checksum as string.
Example:
Determine the MD5 signature for ``A long time ago, way back in history, when all there was to drink, was nothing but cups 'o tea.``.
::
EscapeForXMLAttribute(string value):
Escape string assume it will be written as the value of an XML attribute.
Returns:
String.
Example:
Write ``onClick`` handler for ```` tag.
::
Click me!
JavaScriptEncoding(string value):
Convert all non-ASCII characters to Unicode escape sequences. Also convert all ASCII characters less than 32 along with problematic escape characters, i.e. ``\``, to Unicode escape sequences.
Returns:
String.
Example:
Convert ``Hello\nworld!\n`` to JavaScript encoded text.
::
PalmReaderEncoding(string encodingName, string value):
Encode string as required by Palm Reader.
Returns:
String.
Example:
Encode ``Black moon rising\nwas entertaining.`` for Palm Reader.
::
Format(string format, string argument1, *string argument2*, *string argument3*, *string argument4*, *string argument5*, *string argument6*, *string argument7*, *string argument8*, *string argument9*, string argument10*):
Format a message using the C# string formatter.
See also `C# String Formatting Information`_.
.. _C# String Formatting Information:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemstringclassformattopic3.asp
Returns:
String.
Example:
Format message ``17 total, 15 of 17.``.
::
}}}