c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

c0de/strings ​

The strings library has text functions, number conversions, JSON and YAML and needs INCLUDE c0de/strings.

Funktionen ​

  • LEFT: Returns the first characters of a text.
  • RIGHT: Returns the last characters of a text.
  • MID: Returns a part of a text.
  • REPLACE: Overwrites characters of a text with another text.
  • INSTR: Finds a text inside another text.
  • UCASE: Converts a text to uppercase.
  • LCASE: Converts a text to lowercase.
  • SPACE: Returns a text of spaces.
  • FILL: Returns a text that repeats one character.
  • ASC: Returns the Unicode code point of a character.
  • CHR: Returns the character with a Unicode code point.
  • STR: Converts a value to text.
  • FORMAT: Formats a value as text with a format string.
  • VAL: Converts a text to a number.
  • HEX: Returns the hexadecimal text of an integer.
  • OCT: Returns the octal text of an integer.
  • TO_JSON: Converts a value to a JSON document.
  • TO_YAML: Converts a value to a YAML document.
  • FROM_JSON: Reads a JSON document into a variable.
  • FROM_YAML: Reads a YAML document into a variable.