str (string)
Less than 1 minuteData-Type Reference
str (string)
string (primitive)
Description
This type is modelled closely on generic but is more tailored for textual (non-tabulated) data.
Supported Hooks
Marshal()SupportedReadArray()Treats each new line as a new array elementReadArrayWithType()Treats each new line as a new array element, each array element isstrReadIndex()Indexes treated as a new line separated listReadMap()Treats each new line as a numbered map elementReadNotIndex()Indexes treated as a new line separated listUnmarshal()SupportedWriteArray()Writes a new line per array element
See Also
- Define Type:
cast: Alters the data-type of the previous function without altering its output - Get Nested Element:
[[ Element ]]: Outputs an element from a nested structure - Open File:
open: Open a file with a preferred handler - Reformat Data Type:
format: Reformat one data-type into another data-type - Shell Runtime:
runtime: Returns runtime information on the internal state of Murex *(generic): generic (primitive)int: Whole number (primitive)num(number): Floating point number (primitive)- index: Outputs an element from an array, map or table
Read more about type hooks
ReadIndex()(type): Data type handler for the index,[, builtinReadNotIndex()(type): Data type handler for the bang-prefixed index,![, builtinReadArray()(type): Read from a data type one array element at a timeWriteArray()(type): Write a data type, one array element at a timeReadMap()(type): Treat data type as a key/value structure and read its contentsMarshal()(type): Converts structured memory into a structured file format (eg for stdio)Unmarshal()(type): Converts a structured file format into structured memory
This document was generated from builtins/types/string/string_doc.yaml.