Tintware Documentation : Tint Programming Language : Tint Reference : Value PrimitivesValue PrimitivesValues can be treated as bytes or as UTF8 characters. For routines which come in pairs, (eg. tint.length and tint.byte-length), one is for bytes and the other is for UTF8 characters. The other routines work on both bytes and UTF8 characters. tint.length Returns the length of a value in characters tint.byte-length Returns the length of a value in bytes tint.first Returns the first part of a value tint.rest Returns the rest of a value tint.rfirst Returns the first part of a value starting from the end tint.rrest Returns the rest part of a value starting from the end tint.firstn Returns the first specified number of characters from a value tint.restn Returns the rest of a value after skipping the first specified number of characters tint.firstn-bytes Returns the first specified number of bytes from a value tint.restn-bytes Returns the rest of a value after skipping the first specified number of bytes tint.prefix Returns the common prefix of a list of values tint.map-string Convert one character to another in a value tint.alphabatize Alphabatize a list of values |