verify >>-verify(reference-+----------------------------------------------+-)-->< +-,--+--------+--+---------------------------+-+ +-option-+ +-,--+-------+--+---------+-+ +-start-+ +-,length-+ Returns a number that, by default, indicates whether the receiving buffer
is composed only of characters from
[reference]
. It returns
The
[option]
can be either
If you specify The default for
[start]
is
The default for [length] is the length of the buffer from [start] to the end of the buffer. Thus, the search proceeds to the end of the receiving buffer. You can override this by specifying a different [length] , which must be a non-negative whole number. If the receiving string is null, the method returns
Class MUTABLEBUGGER - verify method .mutablebuffer~new('123')~verify('1234567890') -> 0 .mutablebuffer~new('1Z3')~verify('1234567890') -> 2 .mutablebuffer~new('AB4T')~verify('1234567890') -> 1 .mutablebuffer~new('AB4T')~verify('1234567890','M') -> 3 .mutablebuffer~new('AB4T')~verify('1234567890','N') -> 1 .mutablebuffer~new('1P3Q4')~verify('1234567890', ,3) -> 4 .mutablebuffer~new('123')~verify("",N,2) -> 2 .mutablebuffer~new('ABCDE')~verify("", ,3) -> 3 .mutablebuffer~new('AB3CD5')~verify('1234567890','M',4) -> 6 .mutablebuffer~new('ABCDEF')~verify('ABC',"N",2,3) -> 4 .mutablebuffer~new('ABCDEF')~verify('ADEF',"M",2,3) -> 4 |