This is true only after the last string.
I really wanted to know if ':' is the last character sent, seems it is.
I can see you have two commands that are not of equal length, however
Is the led command always 7 characters ( including ':' suffix ) ?
Is the 7 seg command always 9 characters ( including ':' suffix ) ?
Need specific details not just a hint. Or at least a link to documentation.