public String Check_CharArray()
    {

        for (int i = 0; i < 100000; i++) // Comparing the chars in the array to ASCI code, to just filter out the numbers (for processing in other class anything else is not needed)
        {
            if (charArray[i] >= 48 && charArray[i] <= 57)
            {
                if (GeneratorNumber == null)// if the generator number variable doesn't equal to anythingg, to nbot cause an error we have to equate it to the first value in the array
                {
                    GeneratorNumber = "" + charArray[i];
                    i++;
                }

                GeneratorNumber = GeneratorNumber + charArray[i];
                //System.out.println(GeneratorNumber);

            }
        }
        return GeneratorNumber;
    }