Leonardus
|
Red book operator looks for the first occurrence of the string within
and
returns the results of this search on the operand stack.
The topmost result is a boolean literal that indicates whether the search succeeded.
If search finds a subsequence of whose elements are equal to the elements of
,
it splits into three segments:
It then pushes the string objects ,
, and
on the operand stack,
followed by the boolean literal true.
If search does not find a match, it pushes the original followed by false.
Core code registered in systemdict.