Scripting/Fonctions/Utility Functions
De DigiWiki.
(Différences entre les versions)
(→User created utility functions) |
|||
Ligne 52 : | Ligne 52 : | ||
| [[WrapText]] | | [[WrapText]] | ||
| Break text into line lengths of your specification. | | Break text into line lengths of your specification. | ||
+ | |||
+ | |- | ||
+ | | [[Time & Date Functions]] | ||
+ | | This is a list of useful functions for retrieving information about the current Time & Date. | ||
|} | |} |
Version actuelle en date du 30 décembre 2014 à 23:59
User created utility functions
Function | Purpose |
Chr | Returns the Unicode character with the given code. See also Ord. |
Float2String | Allows string output of a float in a tidy text format, with optional rounding. |
Left | Returns text left of a specified separator. |
Like | See if one word matches part of another. |
Ord | Returns the ordinal (Unicode code) of a character. See also Chr. |
RandomString | Creates a random string. |
RemoveHTMLTags | Removes HTML tags from a string (and newline characters). |
Right | Returns text right of a specified separator. |
str_replace | Replace all instances of a string with another string in a target string. |
Stristr | Returns a string from the first occurrence of needle to the end of haystack. |
SplitLine | Insert 'new line' escape codes at certain positions of a string. |
WrapText | Break text into line lengths of your specification. |
Time & Date Functions | This is a list of useful functions for retrieving information about the current Time & Date. |