for char in somestring:
    do_something(char)
