module Microtest::StringUtils

Defined in:

microtest/string_utils.cr

Class Method Summary

Class Method Detail

def self.diff_index(left : String, right : String) : Int32 | Nil #

return the index of the first different character


[View source]
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


[View source]