core :: Text :: index_of
Returns -1 if not found
# Gets the index of the first occurence of 'c' # # Returns -1 if not found fun index_of(c: Char): Int do return index_of_from(c, 0) end