I\'m trying to transform a number \'2\' presented by \'*\' and \' \' by constructing an array called chstrs like the following code into \'0\' and \'1\'.
chstrs