In my opinion, you should try to not give in to your craving for processed carbs like granulated sugar, corn syrup and any other forms of processed sweets. Not even artificial sweeteners as they will only serve to remind you of your liking for the real stuff. There are pathways in the brain that will get reinforced every time you indulge. So you will only make things worse by indulging.
Will this pass? YES! It definiely will pass as time passes. If you fight it, you'll see that it gets easier and easier. It does get easier even though there will be good days and bad days in the first few weeks.
The worst temptations will come when you're hungry and unprepared, like when you're out shopping or visiting friends. So plan ahead to have some healthy snacks available. Do your shopping after eating and stick to your list of healthy foods. Tell your friends ahead of time that you're on a diet and not eating certain food items.
Try having a piece of sweet fruit instead.