lv_label_cut_text() function
Delete characters from a label. The label text can not be static.
Arguments
obj
pointer to a label object
pos
character index from where to cut. Expressed in character index and not byte index. 0: start in from of the first character
cnt
number of characters to cut