def column_indices(text):
 string_indices = range(len(text))
 for index in find_combining_chars(text):
  string_indices[index] = None
 return [i for i in string_indices if (i is not None)]

def column_indices ( text ) : string_indices = range ( len ( text ) ) for index in find_combining_chars ( text ) : string_indices [ index ] = None return [ i for i in string_indices if ( i is not None ) ]
indices of unicode string text when skipping combining characters .