Using a notecard "test" with a line:
Time flies like an arrow; fruit flies like a banana.
-- one "Time":
print(ll.FindNotecardTextSync("test","Time",0,0,{})[3]) -- 4
-- one "banana":
print(ll.FindNotecardTextSync("test","banana",0,0,{})[3]) -- 6
-- two "like":
print(ll.FindNotecardTextSync("test","like",0,0,{})[3]) -- 5
print(ll.FindNotecardTextSync("test","like",0,0,{})[6]) -- 5
-- two "flies":
print(ll.FindNotecardTextSync("test","flies",0,0,{})[3]) -- 6
print(ll.FindNotecardTextSync("test","flies",0,0,{})[6]) -- 6
Could be related to this:
previously to that canny all lengths were returned +1.