module

Microtest::StringUtils

Class methods

diff_index(left : String, right : String) : Int32 | Nil

return the index of the first different character

Source
split_at(str : String, i : Int32) : Tuple(String, String, String)

split the string into three parts: before, at, and after the passed index

Source