public String getCourseID() {
            
            String class_abbrv = "";
            String class_num = "";
            String class_ID = "";
            String tempStr = "";
            
            tempStr = getSectionID();
            
            int firstSub = 0;
            int secondSub = 0;
            int thirdSub = 0;
            int fourthSub = 0;
            int fifthSub = 0;
            int sixthSub = 0;


            if(tempStr.length() < 12) //2 letter class abbrv
            {
                firstSub = 0;
                secondSub = 2;
                thirdSub = 3;
                fourthSub = 6;
                fifthSub = 7;
                sixthSub = 10;

            }
            else if(tempStr.length() < 13) //3 letter class abbrv
            {
                firstSub = 0;
                secondSub = 3;
                thirdSub = 3;
                fourthSub = 6;
                fifthSub = 6;
                sixthSub = 10;

            }
            else if(tempStr.length() < 14) //4 letter class abbrv
            {
                firstSub = 0;
                secondSub = 4;
                thirdSub = 4;
                fourthSub = 7;
                fifthSub = 7;
                sixthSub = 11;

            }
            else if(tempStr.length() < 15) //5 letter class abbrv
            {
                firstSub = 0;
                secondSub = 5;
                thirdSub = 5;
                fourthSub = 8;
                fifthSub = 8;
                sixthSub = 12;

            }
            //tempStr
            class_abbrv = tempStr.substring(firstSub, secondSub); //class_ID = "CS"
            //class_ID = class_abbrv; //formattedString = "CS-"
            class_num = tempStr.substring(thirdSub, fourthSub);
            class_ID = class_abbrv + "" + class_num;
            
            return class_ID;
        }