print (or search) a single char in a string
Posted: Thu May 12, 2016 8:45 pm
Hi
Is it possible to print (or search) a single char in a string ?
I've try a lot of things, like this for example for third char :
my_string = "pixilang"
print ( my_string[2] , 0 , 0 , WHITE, TOP|LEFT )
but I can't...
I can only print ascii code after num to string conversion...
Is it possible to print (or search) a single char in a string ?
I've try a lot of things, like this for example for third char :
my_string = "pixilang"
print ( my_string[2] , 0 , 0 , WHITE, TOP|LEFT )
but I can't...
I can only print ascii code after num to string conversion...