Former world No 1 Caroline Wozniacki says she felt like someone close to her had died after the split from golfer Rory McIlroy last year. The Dane was quoted by Britain's Independent newspaper as saying her world was turned upside down when the Northern Irishman ended their relationship in May after wedding invitations had been sent out. 'In my head I had everything until that moment,' said Wozniacki. 'I had a great career, I was getting married, I have a perfect family. There was really nothing going against me. I was happy, very happy. Caroline Wozniacki laughing in Florida were she is competing in the Miami Open . The Danish former world No 1 has told about how it felt when she split with Rory McIlroy . 'Then all of a sudden something happens you don't expect. You see your world turned around, literally from one second to the next. I didn't know how strong I was until that happened and I didn't know how much you can actually take. It really feels like someone close to you has died. 'That taught me so much. I grew up so much in that short amount of time. I also realised who is always there for me and who is just there when things are good. 'You learn about life. You have to enjoy it while it's there. You have to enjoy all the great moments. I think now when I look back I wouldn't have been without it because now I really know I'm strong, I know what I want, I know what I can accept, what I can't accept.' Their careers initially went in different directions after the split with McIlroy, who is now the world's No 1 golfer, winning the BMW PGA Championship at Wentworth as Wozniacki suffered an embarrassing first-round exit at the French Open. Wozniacki poses with champion US doubles pair Bob (left) and Mike Bryan at an event in Miami Beach . Wozniacki tries her hand at table tennis during the Taste of Miami in the lead up to the city's tournament . 'When I walked into the stadium or on to the court everybody was staring at me,' said the Dane. 'I felt the pity. I was like: 'I'm OK. I'm fine. Don't give me your pity. Don't come up to me and stroke me. I'm not a child. I'm going to be fine'. 'I was trying in the match but I wasn't there. I have to be happy to play. I have to be excited. At the time it was like a funeral for me.' Wozniacki has since returned to form, reaching her first grand slam final since 2009 at the US Open in September and going back up to number five in the world. McIlroy broke it off with Wozniacki after the the pair's wedding invitations had been send out . The couple announced their engagement on New Year's Eve last year in Sydney with this Twitter post .
Rory McIlroy split with Caroline Wozniacki after wedding invites were sent . Denmark's Wozniacki said she felt she 'had everything until that moment'
After a dip in form Wozniacki is now showing glimpses of her best again . She said the experience has taught her who her real friends are .