Boyer-Moore string search: Difference between revisions
m
→{{header|Python}}
Line 70:
"""Return the index of the given ASCII character. """
val = ord(c)
assert
return val
|