Scripting/Fonctions/Utility Functions

De DigiWiki.

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.
Outils personnels
  • Cette page a été consultée 1 086 fois.
donate
Google Ads