import std/unicode let str = “你好/hi” for c in str.runes(): case c: of '/': # compile error here, since c is type of distinct RuneImpl echo " '/' found" break Run
- how to compare rune with char aiac
- how to compare rune with char Yardanico
import std/unicode let str = “你好/hi” for c in str.runes(): case c: of '/': # compile error here, since c is type of distinct RuneImpl echo " '/' found" break Run