Skip to main content

str (string)

Laurence MorganLess than 1 minute

str (string)

string (primitive)

Description

This type is modelled closely on generic but is more tailored for textual (non-tabulated) data.

Supported Hooks

  • Marshal() Supported
  • ReadArray() Treats each new line as a new array element
  • ReadArrayWithType() Treats each new line as a new array element, each array element is str
  • ReadIndex() Indexes treated as a new line separated list
  • ReadMap() Treats each new line as a numbered map element
  • ReadNotIndex() Indexes treated as a new line separated list
  • Unmarshal() Supported
  • WriteArray() Writes a new line per array element

See Also

  • * (generic): generic (primitive)
  • [[ Element ]]: Outputs an element from a nested structure
  • cast: Alters the data type of the previous function without altering it's output
  • format: Reformat one data-type into another data-type
  • int: Whole number (primitive)
  • num (number): Floating point number (primitive)
  • open: Open a file with a preferred handler
  • runtime: Returns runtime information on the internal state of Murex
  • index: Outputs an element from an array, map or table

Read more about type hooks


This document was generated from builtins/types/string/string_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan,Laurence Morgan