Template:Str find long/logic