module Microtest::StringUtils
Defined in:
microtest/string_utils.crClass Method Summary
-
.diff_index(left : String, right : String) : Int32 | Nil
return the index of the first different character
-
.split_at(str : String, i : Int32) : Tuple(String, String, String)
split the string into three parts: before, at, and after the passed index
Class Method Detail
def self.diff_index(left : String, right : String) : Int32 | Nil
#
return the index of the first different character
def self.split_at(str : String, i : Int32) : Tuple(String, String, String)
#
split the string into three parts: before, at, and after the passed index