skip to main content
StringUtilities
 
urn:WebWorks-XSLT-Extension-StringUtilities
Functions
string CSSClassName (string styleName)
Convert the given string into a valid CSS class name.
string DecodeURI (string value)
Decode an escaped URI 'value' back to an unescaped URI.
string DecodeURIComponent (string value)
Decode an escaped partial URI component, 'value', back to an unescaped URI component.
string EclipseId (string identifier)
Create a valid Eclipse ID from 'identifier'.
string EncodeURI (string value)
Encode 'value' string as an escaped URI.
string EncodeURIComponent (string value)
Encode 'value' string, a partial URI component, as an escaped URI.
string EscapeForXMLAttribute (string value)
Escape 'value' string so that it can be written as an XML attribute.
string 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.
string FromFile (string sourceFilePath, string sourceFileEncodingName)
Import file contents using 'sourceFileEncodingName' as the file's assumed encoding.
string 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.
bool MatchExpression (string input, string matchExpressionAsString)
Return success of match for 'matchExpressionAsString' in 'input'.
string MatchExpressionValue (string input, string matchExpressionAsString)
Return value of match for 'matchExpressionAsString' in 'input'.
string MD5Checksum (string value)
Compute the MD5 checksum on the given 'value' string.
string NCNAME (string identifier)
Convert 'identifier' to a valid NCNAME as defined by:
string NormalizeQuotes (string value)
Convert the given string to a string where all left/right single/double quotes are normalized. Left single quotation mark = single quotation mark Right single quotation mark = single quotation mark Left double quotation mark = double quotation mark Right double quotation mark = double quotation mark
string OEBClassName (string styleName)
Create a valid Open eBook class name from 'styleName'.
string Replace (string input, string search, string replacement)
Replace all occurrences of 'search' in 'input' with 'replacement'.
string ReplaceWithExpression (string input, string searchExpressionAsString, string replacement)
Replace all occurrences of 'searchExpressionAsString' in 'input' with 'replacement'.
string ReplaceWithExpressionForCount (string input, string searchExpressionAsString, string replacement, int count)
Replace 'count' occurrences of 'searchExpressionAsString' in 'input' with 'replacement'.
string SHA1Checksum (string value)
Compute the SHA-1 (Secure Hash Algorithm 1) checksum on the given 'value' string.
string ToLower (string value)
Convert the given string to lowercase.
string ToUpper (string value)
Convert the given string to uppercase.
string ToCamel (string value)
Convert the given string to camel case.
string ToPascal (string value)
Convert the given string to pascal case.
bool EndsWith (string input, string suffix)
Return success of suffix being the suffix of input.
string WebWorksHelpContextOrTopic (string key)
Converts the given 'key' into a valid WebWorks Help/Reverb context or topic string.
 
Detailed Description
urn:WebWorks-XSLT-Extension-StringUtilities
Extend the available string processing methods to XSL to include message formatting, specialized text escaping, regular expression operations, etc.
 
Member Function Documentation
Was this helpful?
Last modified date: 10/14/2020