ofLiteral

fun ofLiteral(text: String, escapeChar: Char = '\\'): LikePattern

Creates a LikePattern from the provided text, with any special characters escaped using escapeChar.