but given text is too long and only part of text is visible. I need to get some information about label(Visible text, length of visible text or something like that). Is there any way to do it?
Or, if you really want to know visible length… Try to get width of each character at current fontSize and kerning between each two characters - with that information you can calculate the length.