DEBSOURCES
Skip Quicknav
sources / cython / 3.0.11%2Bdfsg-2 / docs / examples / tutorial / string / for_char.pyx
123456
cdef char* c_string = "Hello to A C-string's world" cdef char c for c in c_string[:11]: if c == 'A': print("Found the letter A")