pos >>-pos(needle-+--------+-)------------------------------------->< +-,start-+ Returns the position in the receiving buffer of another string,
[needle]
. (See also
.) It returns
Class MUTABLEBUGGER - pos method x1 = .mutablebuffer~new("Saturday") x1~pos("day") -> 6 x1 = .mutablebuffer~new("abc def ghi") x1~pos("x") -> 0 x1~pos(" ") -> 4 x1~pos(" ",5) -> 8 |