Add <td> inside <td> when it contains two value.

Add <td> inside <td> when it contains two value.

Hi everybody,
I'm witing because I need help to realize some thing like this:
I have a html table that contains some characters of the month divided by days. It may happen that on some days there may be two characters or more then a character. I would like that when the <td> contains more characters automatically adds a <td> within the <td> to divide the characters.
The characters are divided by space.

Is it possible?

Thanks in advance.

Tegatti.

P.S.
This is a part of my table: