For me, as a sugar addict that broke my addiction by getting off sugar. I went cold turkey and told myself I could eat enough to feel satisfied as long as it wasn't sweet.
It was easier if I felt full.
What helps me now is packing healthy snacks so I am not desperate. I make sure I have the right foods with me at work and at home.
Sugar is a vicious cycle. If you eat it, you will crave more. I avoid it as much as possible. If I eat some one day I will find myself wanting it the next.
I no longer eat it and crave it on a regular basis.