Meta Project

The Unofficial Meta Documentation

CUT

Summary

CUT returns a range, without copying

Category

Categoryname

Usage

CUT value1 value2

Arguments

value1 - STRING! to be cut

value2 - length to cut the string to

Refinements

This method has no refinements

Description

CUT Cuts a STRING! variable to a certain length. Most often used in combination with COPY like the example.

Example Code

string: "Meta is my new programming language of choice"
new-string: copy cut string 4

Related

COPY  
AT  
SKIP  

Back to the Meta Methods Reference index