PC Logo Wiki
Advertisement

Syntax

FROMMEMBER word1 or list1 word2 or list2

FM word1 or list1 word2 or list2

Explanation

FROMMEMBER outputs a word or list consisting of its second input with all elements removed up until the first occurence of its first input. If the second input is a word, the first input must also be a word. If the second input is a list, the first input can be either a word or list.

Examples

? FROMMEMBER "B "ABC

Result: BC

? FROMMEMBER 3 [1 2 3 4 5]

Result: [3 4 5]

? FROMMEMBER "HAT "MANHATTAN

Result: HATTAN

? FM "CHARLIE [ARCHIE BETSY CHARLIE DINAH EDWARD FRANCIS]

Result: [CHARLIE DINAH EDWARD FRANCIS]

?

Advertisement