String Replacements Class
Entisoft Tools 2.0 Object Library
Version 2.1 Build 208
<-- Previous || Index || Main || Topics || Next -->Declarations Section, StringReplacements_Verify Sub, ReplaceCharacter Function, ReplaceCharacterVerify Sub, ReplaceLikeString Function, ReplaceString Function, ReplaceStringVerify Sub, ReplaceStringFast Function, ReplaceStringFastVerify Sub, ReplaceStringMultiple Function, ReplaceStringMultipleVerify Sub, ReplaceStringNTimes Function, ReplaceStringNTimesVerify Sub, ReplaceStringOnce Function, ReplaceStringOnceVerify Sub, ReplaceStringRecursively Function, ReplaceStringRecursivelyVerify Sub, StripFirstMatch Function, StripFirstMatchVerify Sub, StripLastMatch Function, StripLastMatchVerify Sub, StripMatchingBeginLine Function, StripMatchingBeginLineVerify Sub, StripMatchingBeginLineFast Function, StripMatchingBeginLineFastVerify Sub, StripMatchingEndLine Function, StripMatchingEndLineVerify Sub, StripMatchingEndLineFast Function, StripMatchingEndLineFastVerify Sub, StripNilCharacterForward Function, StripNilCharacterForwardVerify Sub, StripString Function, StripStringVerify Sub, StrRep Sub, TranslateString Function, TranslateStringVerify Sub, TranslateStringUsingCharacterPairs Function, TranslateStringUsingCharacterPairsVerify Sub, TranslateStringUsingTable Function, TranslateStringUsingTableVerify Sub
- Declarations Section
-
- String Replacements _ Verify Sub
- Tests the routines in this Class during Development.
- Replace Character Function
- Replaces all occurrences of one character within a string with another character.
- Replace Character Verify Sub
- Test the ReplaceCharacter function.
- Replace Like String Function
- Perform string replacement. Replace all non-overlapping occurrences of LIKE pattern vLike in vLine with vReplace.
- Replace String Function
- Perform string replacement. Replace all non-overlapping occurrences of vFind in vLine with vReplace.
- Replace String Verify Sub
- Test the ReplaceString function.
- Replace String Fast Function
- Perform string replacement. Replace all non-overlapping occurrences of vFind in vLine with vReplace. Faster version of the ReplaceString function which uses restrictive argument types to avoid argument fix-up code.
- Replace String Fast Verify Sub
- Test the ReplaceStringFast function.
- Replace String Multiple Function
- "Replace String Multiple Times" Performs multiple string replacements within a string.
- Replace String Multiple Verify Sub
- Test the ReplaceStringMultiple function.
- Replace String N Times Function
- Replace up to vNTimes non-overlapping occurrences of vFind in vLine with vReplace.
- Replace String N Times Verify Sub
- Test the ReplaceStringNTimes function.
- Replace String Once Function
- Replace at most one occurrence of vFind in vLine with vReplace.
- Replace String Once Verify Sub
- Test the ReplaceStringOnce function.
- Replace String Recursively Function
- Perform string replacement. Replace all possibly-overlapping occurrences of vFind in vLine with vReplace. Continue replacing string vFind in vLine with vReplace until vFind no longer appears (Behavior #9).
- Replace String Recursively Verify Sub
- Test the ReplaceStringRecursively function.
- Strip First Match Function
- Find and remove the first occurrence of one string within another.
- Strip First Match Verify Sub
- Test the StripFirstMatch function.
- Strip Last Match Function
- Find and remove the last occurrence of one string within another. Like the StripFirstMatch function excepts that it searches backwards from the end of the string.
- Strip Last Match Verify Sub
- Test the StripLastMatch function.
- Strip Matching Begin Line Function
- Strip vFind from vLine only if it appears at the beginning of vLine, otherwise return the string vLine unchanged.
- Strip Matching Begin Line Verify Sub
- Test the StripMatchingBeginLine function.
- Strip Matching Begin Line Fast Function
- Strip vFind from vLine only if it appears at the beginning of vLine, otherwise return the string vLine unchanged. Faster version of the StripMatchingBeginLine function which uses restrictive argument types to avoid argument fix-up code.
- Strip Matching Begin Line Fast Verify Sub
- Test the StripMatchingBeginLineFast function.
- Strip Matching End Line Function
- Strip vFind from vLine only if it appears at the end of vLine, otherwise return the string vLine unchanged.
- Strip Matching End Line Verify Sub
- Test the StripMatchingEndLine function.
- Strip Matching End Line Fast Function
- Strip vFind from vLine only if it appears at the end of vLine, otherwise return the string vLine unchanged. Faster version of the StripMatchingEndLine function which uses restrictive argument types to avoid argument fix-up code.
- Strip Matching End Line Fast Verify Sub
- Test the StripMatchingEndLineFast function.
- Strip Nil Character Forward Function
- Strips the first Nil character (Chr$(0); the character whose ASCII value is 0 (zero)) and all following characters from a string.
- Strip Nil Character Forward Verify Sub
- Test the StripNilCharacterForward function.
- Strip String Function
- Remove all occurrences of the string vFind from string vLine.
- Strip String Verify Sub
- Test the StripString function.
- Str Rep Sub
- "String Replace" Replace all non-overlapping occurrences of the vFind in vLine with vReplace. Similar to the ReplaceString function except that this subroutine modifies its argument instead of returning a result.
- Translate String Function
- Translate characters in vLine. Characters in vLine also appearing in vFrom are replaced with the corresponding character from vTo.
- Translate String Verify Sub
- Test the TranslateString function.
- Translate String Using Character Pairs Function
- Translate characters in vLine. Characters in vLine also appearing in odd-numbered positions in string vFromToChars are replaced with the following character from vFromToChars.
- Translate String Using Character Pairs Verify Sub
- Test the TranslateStringUsingCharacterPairs function.
- Translate String Using Table Function
- Translate characters in vLine. Like the TranslateString function except that this function requires a string containing the translation for every character between Chr$(0) and Chr$(255).
- Translate String Using Table Verify Sub
- Test the TranslateStringUsingTable function.
This Windows-based ActiveX DLL provides many useful routines through its function-bearing and data structure classes. Consult the Help file for more information, or call us at 1-310-472-3736. For the latest news and files, visit our home page on the World Wide Web: http://www.entisoft.com
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.