Class Module 28 Members ★ 1 Top 20

String Words Class

Entisoft Tools 2.0 Object Library · StringWords · 24 Functions · 1 Properties · 2 Subroutines

Showing 28 of 28
Declarations
Declarations
The functions in this group perform operations on strings containing English words. Some of the functions may be meaningful when used with strings of words from other Indo-European languages. Copyright 1998 Entisoft
Section
SpecialSeparators
Special Separators
Property whose Constant value contains the special character classification definitions used by functions like SummarizeText and SortWords . The definitions in this string describe the characters in the ANSI Windows character set.
Property
AcronymFromCapitals
Acronym From Capitals
Extract all of the capital letters from a string.
Function
AcronymString
Acronym String
Converts a string into its acronym by returning the first alphanumeric character from each sequence of alphanumeric characters.
Function
AddSpaceBeforeAllCapitals
Add Space Before All Capitals
Adds a space character before all capital letters in string vValue. Function does not add a space before the first character of the string if it is a capital letter.
Function
AddSpaceBeforeCapitals
Add Space Before Capitals
Adds spaces before the last capital letter in all sequences of one or more capital letters. Function does not add a space before the first character of the word if it is otherwise a candidate capital letter.
Function
AverageReadingTime
Average Reading Time
Calculate the average reading time for a paragraph of text. The lines of text can be separated by either line feed (UNIX) or carriage return line feed characters (DOS/Windows).
Function
CombineOverlappingWords
Combine Overlapping Words
Combine words that overlap from the end of one phrase to the beginning of the other.
Function
CountWords
Count Words
Count the alphanumeric words within a string. Function considers each sequence of one or more alphanumeric characters to be a word.
Function
DictionaryOrder
Dictionary Order
Return a string representing the dictionary order of the string vValue. If the string begins with any of the words in vRotateWords, those words are moved to the end of the string.
★ Top 20 Function
IsAlliteration
Is Alliteration
Return True if the phrase vValue is an alliteration. An alliteration is a phrase in which each word begins with the same letter.
Function
IsAnagram
Is Anagram
Return True of the two phrases are anagrams of each others. Anagrams are words which contain the same characters shuffled into different positions. If the characters in one phrase can be rearranged into different positions to become the second phrase, then the two phrases are anagrams of each other.
Function
IsPalindrome
Is Palindrome
Return True if the alphanumeric characters in the string are a palindrome. A palindrome is a phrase whose alphanumeric characters are the same when they are reversed.
Function
LastName1stTo1stName1st
Last Name 1st To 1st Name 1st
"Last-name-first To First-name-first" Converts a name from last-name-first form into first-name-first form. Strings not containing either one or two commas are returned unchanged.
Function
MetaPhone
Meta Phone
Returns the MetaPhone equivalent of an English word or phrase. The MetaPhone algorithm reduces words to their phonetic equivalent in many cases.
Function
PigLatin
Pig Latin
Converts an English phrase into "Pig Latin." The first letter of every word is moved to the end of the word then an "a" is added.
Function
ProperCase
Proper Case
Convert a string to its proper-case equivalent. The first character of each alphabetic word is converted to its upper-case equivalent and the remaining alphabetic characters are converted to their lower-case equivalent.
Function
ProperCaseInPlace
Proper Case In Place
Convert the argument rValue to its proper-case equivalent and also return the value. The first character of each alphabetic word is converted to its upper-case equivalent and the remaining alphabetic characters are converted to their lower-case equivalent.
Function
ReverseCharactersEveryWord
Reverse Characters Every Word
Reverse the characters within every word. Words are defined as being separated by any of the characters in vCharSeps.
Function
RotateWordsLeft
Rotate Words Left
Rotate/move the first word within the string vValue to the end of the string.
Function
RotateWordsRight
Rotate Words Right
Rotate/move the last word within the string vValue to the beginning of the string.
Function
SortWords
Sort Words
Sort the words within a phrase, create a string containing the unique words within a string, or perform both operations at the same time (sort the unique words).
Function
Soundex
Soundex
Convert a string to its four-character Soundex code, which will be the same for many words which are spelled similarly. Useful for finding the names within a database table that are spelled similarly.
Function
SoundexExtended
Soundex Extended
Convert a string to its four-character Extended Soundex code, which will be the same for many words which are spelled similarly. Useful for finding the names within a database table that are spelled similarly. Similar to the Soundex function except that this one converts even the first character of string vValue into the appropriate numeric character class.
Function
StringWidth
String Width
Determine the width of a string in characters, assuming that backspace characters have a width of -1 (because they move the print positions back one space) and all but the carriage control characters have a width of 1.
Function
SummarizeText
Summarize Text
Summarize the words within a paragraph. Excess spaces are removed, words are sorted by their frequency, and certain words can be ignored.
Function
SortWordsSample
Sort Words Sample
View VB6 signature, parameters, and usage notes.
Sub
SummarizeTextSample
Summarize Text Sample
View VB6 signature, parameters, and usage notes.
Sub