Calculate your string width and split it by a rule.

Calculate the string width in pixel and split it by a rule.e.g: "This title is so long ... split done."