Meta Project

The Unofficial Meta Documentation

AT-HEAD

Summary

AT-HEAD Places the position at the head

Category

Categoryname

Usage

AT-HEAD value

Arguments

value - STRING! type value

Refinements

This method has no refinements

Description

AT-HEAD is not as useful as could be. The head is not 'known' or saved to return to at a later moment. So you need to save the original somehow yourwelf.

Example Code

s: "abcdacdefadefg"
head= s
s: find/tail s "e"
t: at-head head
write/line t

Related

AT-TAIL  
AT-LAST  

Back to the Meta Methods Reference index