more trivial functions to BatSubstring for compatiblity with BatString

equal, ord, contains, contains_from, rcontains_from.