Class Module
19 Members
String Numerics Class
Entisoft Tools 2.0 Object Library · StringNumerics · 14 Functions · 0 Properties · 4 Subroutines
Declarations
Declarations
These functions in this group perform mathematical operations on the characters within strings. Copyright 1998 Entisoft
Section
AddStringCharacters
Add String Characters
Adds the ASCII values of corresponding characters from two strings.
Function
AverageStrings
Average Strings
Return the average (mean) value of two strings.
Function
HexadecimalHiLoStringsToString
Hexadecimal Hi Lo Strings To String
"Hexadecimal High/Low Strings To String" Converts two strings containing different digits of a hexadecimal number into a string.
Function
HexadecimalPairsToString
Hexadecimal Pairs To String
Converts a string in which each pair of characters represents an ASCII value into the string of characters with those ASCII values. Inverse of the StringToHexadecimalPairs function.
Function
IncrementString
Increment String
Increments a string within a certain ASCII range. Lengthens the string if it is already at or above the maximum value.
Function
IncrementStringWithinCharacterSet
Increment String Within Character Set
Increments a string, making sure that the characters remain within a specific character set. Lengthens the string if it is already at or above the maximum value.
Function
NumberAndSuffix
Number And Suffix
Returns the number and its suffix as a string. For converting numbers like "1" to "1st", "2" to "2nd", etc. Similar to the NumberSuffix function except that that one returns only the suffix.
Function
NumberAndSuffixSample
Number And Suffix Sample
View VB6 signature, parameters, and usage notes.
Function
NumberSuffix
Number Suffix
For converting numbers like "1" to "st", "2" to "nd", etc. Returns the suffix only. Similar to the NumberAndSuffix function except that that one returns both the number and its suffix.
Function
StringCharactersBitwiseAndNumber
String Characters Bitwise And Number
Perform the bitwise "And" operation on each of the characters within a string. The operation is performed between the number and each character within the string.
Function
StringCharactersBitwiseOrNumber
String Characters Bitwise Or Number
Perform the bitwise "Or" operation on each of the characters within a string. The operation is performed between the number and each character within the string.
Function
StringCharactersBitwiseXorNumber
String Characters Bitwise Xor Number
"String Characters Bitwise Exclusive Or Number" Perform the bitwise "Xor" ("Exclusive Or") operation on each of the characters within a string. The operation is performed between the number and each character within the string.
Function
StringToHexadecimalPairs
String To Hexadecimal Pairs
Converts each of the characters in a string into another string where each pair of characters if the ASCII value of the character in hexadecimal form.
Function
VersionNumberCompare
Version Number Compare
Compares two version numbers to determine whether one is less than, equal to, or greater than the other. The first most significant sections of the version number are compared, and if they match successive less-significant sections are compared to break the tie.
Function
AverageStringsSample
Average Strings Sample
View VB6 signature, parameters, and usage notes.
Sub
AverageStringsTest
Average Strings Test
View VB6 signature, parameters, and usage notes.
Sub
IncrementStringSample
Increment String Sample
View VB6 signature, parameters, and usage notes.
Sub
IncrementStringWithinCharacterSetSample
Increment String Within Character Set Sample
View VB6 signature, parameters, and usage notes.
Sub