Meta Project

The Unofficial Meta Documentation

JOIN

Summary

JOIN can join STRING! type variables

Category

Categoryname

Usage

new-string: JOIN/WITH string1 string2

Arguments

string1 - STRING! type value

string2 - STRING! type value

Refinements

/WITH - Use the input to JOIN to

Description

Joining STRING! types in Meta is done using JOIN. To be exact, JOIN/WITH. JOIN/WITH can be nested to concatenate more than 2 strings together at once. JOIN/WITH cannot handle numeric values so these will have to be cast to STRING! types first. This is done using FORM or TO STRING!.

Example Code

Here you can see an error-message string to be put on a webpage getting extended with more information.

error-message: join/with join/with join/with error-message
               line-in "
" new-line

Related

APPEND  
WRITE  
STRING!  

Back to the Meta Methods Reference index