[Coco] INSTR question

Allen Huffman alsplace at pobox.com
Thu Feb 9 16:49:19 EST 2017


> On Feb 9, 2017, at 3:47 PM, Salvador Garcia via Coco <coco at maltedmedia.com> wrote:
> 
> While there is no logic to returning the start position if no target is given, it is not a bug. It is, however, totally misleading because the start position is a valid return value, a false positive, if you will :-)  Salvador

Agreed! 1 means you matched the starting at the first position, or you passed in a null ;-)

Yep, gotta error check.

		-- A




More information about the Coco mailing list