Text handling functionality.

Contains methods to manipulate Text.

Methods

Name Description
Base64Decode Decodes Base 64 Encoded text.
Base64DecodeToByteArray Decode a Base 64 Encoded string to a Byte Array.
Base64Encode Base 64 Encodes text.
Base64EncodeByteArray Base 64 Encodes text.
Base64UrlDecode Decodes Base 64 URL text.
Base64UrlEncode Base 64 URL Encodes text.
Base64UrlEncodeByteArray Base 64 URL Encodes text.
CalculateSimpleHashValue Uses a simple algorithm to return a hash value for a String.
CreateNumberFormat Creates a Format String for formatting numeric values.
CsvAppend Appends the text onto the Base String using Csv conventions.
CsvAppendSb Appends the text onto the String Builder object using Csv conventions.
CsvParse Parses the text using Csv conventions add returns the next item starting at the position specified.
GetCharacterOccurrenceCount Get a Count of the number of occurrences of the specified Character within a String.
GetGuid Returns a new Guid, a unique 36 character identifier.
GetGuidShort Returns a new GUID, shortened to 22 characters by Base64 encoding it.
GetMockedPdfByteArray Returns a very simple/ small PDF File with the specified text.
GetMockedPdfText Returns a very simple/ small PDF File with the specified text.
GetNumberedListFromIsList Returns a numbered list string from an ISList object.
GetNumberedListFromIsListHtml Returns a ordered HTML list string from an ISList object.
GetNumberedListFromIsListReadOnly Returns a numbered list string from an ISListReadOnly object.
GetTaggedValue Searches a String for first opening/ closing tags and returns the text value in-between the tags.
GetTimeSpanExclusiveText Get a description of the Time Span between two dates (exclusive). Suitable for Age of person.
GetTimeSpanInclusiveText Get a description of the Time Span between two dates (inclusive).
GetTimeSpanText Get a description of the Time Span between two dates (exclusive). Suitable for Age of person.
IncrementId Returns the next Id in the sequence
IsValidEmailAddress System Use Only Obsolete Validates an Email Address.
IsValueInRange Test to see the supplied Text can be found in the supplied Range String.
JsonIndent Splits and indents a raw JSON string.
JsonIndentHtml Splits and indents a raw JSON string and displays it as HTML.
LTrim Remove leading characters of a String.
LevenshteinDistance Returns an integer that is the number of single-character inserts, deletes, or substitutions that would be required to change startString to endString. Useful for indexing and fuzzy search applications. The algorithm is described in Wikipedia <seealso href="https://en.wikipedia.org/wiki/Levenshtein_distance"/>
ListAppend Appends the text to an existing string using the supplied separator.
ListAppendNewLine Appends the text to an existing string using vbCrLf as the separator.
ListSeparate Separates a list of string items with the required separator.
NumbersOnly Removes any non-digits from a String.
ProperCase Updates a String, forcing it into Proper Case.
RClean Remove all punctuation (ie. non-alpha-numeric characters) and white space from the end of a String.
RTrim Remove trailing characters of a String.
RTrimWhiteSpace Remove any trailing White Space characters.
RangeAdjust Returns an adjusted string for handling Ranges.
RegExMatch Test to see if the supplied Text matches a Regular Expression.
RemoveLeadingZeros Remove leading Zeros from a string
RemoveTaggedValue Searches a String for first opening/ closing tags and removes them, including all text inbetween.
ReplaceDiacriticalCharacters Replaces diacritical characters with their equivalent upper/ lower case character.
ReplaceTaggedValue Searches a String for first opening/ closing tags and replaces the text inbetween.
ReplaceTaggedValue2 Searches a String for first opening/ closing tags and replaces the text in between.
ReplaceText Returns a string in which all occurences of a specified substring are replaced with another specified substring.
SplitWordsAtCapitals Splits a string containing no spaces into words, eg. "DateAsAt" will be split to "Date As At".
StringToAsciiByteArray Convert an String to an ASCII Byte Array.
StringToEnum Convert a String value to an Enum.
StringToUtf8ByteArray Convert a String to a UTF8 Byte Array.
Trim Remove any leading or trailing characters.
TrimWhitespace Trim whitespace (spaces, vbLf, vbCr) from the beginning and end of a String.
WordWrapText Returns a String with Lines no longer than maxLineLength wide, wrapping at words.
WrapText Returns a String with Lines no longer than maxLineLegnth wide.
XmlIndent Splits and indents a raw XML string.
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0