breakOn package:hpp
Similar to the function of the same name in the text package.
breakOn needles haystack finds the first instance of an
element of needles in haystack. The first component
of the result is the needle tag, the second component is the prefix of
haystack before the matched needle, the third component is
the remainder of the haystack after the needle..
Similar to the function of the same name in the text package.
breakOn needles haystack finds the first instance of an
element of needles in haystack. The first component
of the result is the needle tag, the second component is the prefix of
haystack before the matched needle, the third component is
the remainder of the haystack after the needle..