Member

HC Data Structure Primitives Queries Member
Char lowerCase

Member thing1 thing2


if "thing2" is a word or list and if MemberP with these inputs would output TRUE, outputs the portion of "thing2" from the first instance of "thing1" to the end. If MEMBERP would output FALSE, outputs the empty word or list according to the type of "thing2". It is an error for "thing2" to be an array (because butFirst does not work for arrays).

Examples:

Member "a "Hallo		;allo  ;-)
Member "Hal "Hallo		;  ;-)
Member? "Hal "Hallo		;false  ;-)
Member "World [Hallo World]		;[World] ;-)
Member "b {a b c}		;  member doesn't like {a b c} as input

Examples:

References:

Char lowerCase