Tintware Documentation : Tint Programming Language : Tint Reference : Value Primitives : tint.firstnSyntax#(tint.firstn,%s,%n) #(tint.firstn,%s,%n,%retain) %s is a value whose first %n characters will be returned. %n must be a number. If %retain is specified, then the code or data attribute in %s will be carried into the result. Otherwise, the result is all data. Examples#(tint.firstn,abcdef,3) abc #(tint.firstn,abcdef,9) abcdef #(tint.firstn,abcdef,3,y) abc |