doc update: wherefirst_ <-> wherelast_ typo
doc update: using \NULL text macro more consistently for S-Lang's NULL literal
slarrfun.inc uses macro for repeated cases finding the first/last index