Scripting/Fonctions/Utility Functions

De DigiWiki.

(Différences entre les versions)
(Page créée avec « === Particules === {| class="sortable" {{Prettytable}} |- {{Hl2}} | '''Function''' | '''Purpose''' |- | Chr | Returns the Unicode character with the given code. See a… »)
Ligne 1 : Ligne 1 :
-
=== Particules ===
+
=== User created utility functions ===
{| class="sortable" {{Prettytable}}
{| class="sortable" {{Prettytable}}
|- {{Hl2}}
|- {{Hl2}}

Version du 19 février 2014 à 15:34

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.
Outils personnels
donate
Google Ads