String module

equal_nocase

procedure · 1 overloadSource

Whether the two strings are equal when ASCII letters are matched in either case.

equal_nocase :: (a: string, b: string) -> bool

Parameters

a: string
b: string

Returns

bool
ExampleOpen in playground ↗
assert(equal_nocase("MiXeD", "mixed"));
assert(!equal_nocase("abc", "abcd"));

See also