At my school, it was pretty much opposite of what you experienced. For swearing as many times as you wanted, you got a little slap on the wrist. You pretty much never went to the office for it, and if you did, they'd send you right back because the teacher was stupid for sending a student to the office for swearing. The principal had better things to do with his time to be honest >.>
Drugs though, they have a "system" that they have to abide by but almost never do. The system goes; first time offense is 10 days suspended and an in-school conference between your parents and the principal. Second time, you were suspended for 30+ days and your case went to the board of education where they would deal with you further. Third time offense is 90+ day suspension and taken to the board of education again. After that you were "officially gone". But most of the time you were out on strike two or three.
All in all, agreed that the punishments should have been reversed. You might be able to write an anonymous letter to the school board about it. Look into it if you're really concerned.