Category:Subroutines - Text
From Vectorlab
Standard subroutines for Text.
These scripts do not work as stand-alone.
- NOTE
- For using these subroutines you do well to load first the constants stored in Txt- All constants.
Each of the routines listed in the category VectorScript Subroutines is available under the MIT licencing, if not differently specified.
Using the routines you accept its terms.
To place a new article in this category, create a page with the inputbox below. Type the name of the page in the edit field:
Pages in this category
- Txt-Apostrophe
- FUNCTION T_Apo(str: STRING): STRING;...(more)
- Txt-Braket
- FUNCTION T_Braket(str: STRING): STRING;...(more)
- Txt-Case converter
- FUNCTION T_CaseConverter(str: STRING; capsIndx: INTEGER): STRING;...(more)
- Txt-Char is number
- FUNCTION T_CharIsNumber(aChar :CHAR):BOOLEAN;...(more)
- Txt-Delimited string
- FUNCTION T_DelimitedString(sourceStr, delim1, delim2: STRING): STRING;...(more)
- Txt-Delimited string dynarray of char
- FUNCTION T_DelimitedStringXXL(sourceStr, delim1, delim2: DYNARRAY[] OF CHAR; VAR delimited: DYNARRAY[] OF CHAR): INTEGER;...(more)
- Txt-Extract char separated
- FUNCTION T_ExtractCharSep(VAR str: STRING; ch: CHAR): STRING;...(more)
- Txt-Extract char separated number
- FUNCTION T_ExtractCharSepNum(VAR str: STRING; ch: CHAR): REAL;...(more)
- Txt-Get longest string
- FUNCTION T_GetLongestStr(currStr, longestStr: STRING): STRING;...(more)
- Txt-Lowercase
- FUNCTION T_LowerCase(asciiNr: INTEGER): CHAR;...(more)
- Txt-Name is unique
- FUNCTION T_NameIsUnique(str: STRING): BOOLEAN;...(more)
- Txt-Name is unique in layers
- FUNCTION T_NameUniqueLayers(str: STRING): BOOLEAN;...(more)
- Txt-Name is unique in objects
- FUNCTION T_NameUniqueObjects(str: STRING): BOOLEAN;...(more)
- Txt-Name will collide
- FUNCTION T_NameWillCollide(checkLayerList: BOOLEAN; proposedName: STRING): BOOLEAN;...(more)
- Txt-Padder left
- FUNCTION T_Padder(str: STRING; paddingChar: CHAR; howMany: INTEGER): STRING;...(more)
- Txt-Padder right
- FUNCTION T_PadderRight(str: STRING; paddingChar: CHAR; howMany: INTEGER): STRING;...(more)
- Txt-Remove chars not in list
- FUNCTION T_RemoveNotInList(str: STRING; list: DYNARRAY[] OF CHAR): STRING;...(more)
- Txt-Reverse string
- FUNCTION T_ReverseStr(str: STRING): STRING;...(more)
- Txt-Search replace
- FUNCTION T_SearchReplace(sourceStr, searchStr, replStr: STRING): STRING;...(more)
- Txt-Search replace char
- FUNCTION T_SearchReplaceChar(sourceStr: STRING; searchChar, replChar: CHAR): STRING;...(more)
- Txt-Search replace dynarray of char
- PROCEDURE T_SearchReplaceXXL(sourceStr, searchStr, replStr: DYNARRAY[] OF CHAR; VAR resultStr: DYNARRAY[] OF CHAR);...(more)
- Txt-Search replace prefix
- FUNCTION T_SearchReplacePrefix(sourceStr, searchStr, replStr: STRING): STRING;...(more)
- Txt-Search replace suffix
- FUNCTION T_SearchReplaceSuffix(sourceStr, searchSuff, replSuff: STRING): STRING;...(more)
- Txt-Simple grep
- FUNCTION T_SimpleGrep(aString: STRING): STRING;...(more)
- Txt-Split name from number
- FUNCTION T_SplitNameFromNum(VAR name2check: STRING): INTEGER;...(more)
- Txt-String is in array
- FUNCTION T_StringIsInArray(str: STRING; arr: DYNARRAY[] OF STRING): INTEGER;...(more)
- Txt-Substitute not in list
- FUNCTION T_SubstituteNotInList(str: STRING; list: DYNARRAY[] OF CHAR; newChar: CHAR): STRING;...(more)
- Txt-Substitute not in pair
- FUNCTION T_SubstituteNotInPair(str: STRING; char1, char2, replacementChar: CHAR): STRING;...(more)
- Txt-Text object
- FUNCTION T_TxtObj(theText: DYNARRAY[] OF CHAR; tx, ty, maxTWidth: REAL; tJust, tAlign: INTEGER): HANDLE;...(more)
- Txt-Unic name
- FUNCTION T_UnicName(inLayers: BOOLEAN; startName: STRING): STRING;...(more)
- Txt-Uppercase
- FUNCTION T_UpperCase(str: STRING): STRING;...(more)
- Txt-Write scaled text
- FUNCTION T_WriteScaledText(theText: DYNARRAY[] OF CHAR; tx, ty, maxTWidth, tRot, tSizeScale: REAL; tJust, tAlign, tStyle: INTEGER): HANDLE;...(more)
- Txt-Write text
- PROCEDURE T_WriteText(theText: DYNARRAY[] OF CHAR; tx, ty, maxTWidth: REAL; tJust, tAlign: INTEGER);...(more)
- Txt- All constants
- cBR = chr(13);...(more)
Articles in category "Subroutines - Text"
There are 34 articles in this category.
T |
T cont. |
T cont. |
