returned strings are llib arrays; to look beyond the first nul, use array_length instead of strlen