hey guys I'm searching for a way to actually justify a text by coding it.
what i did until now is find how many caracters are written.. then i got 80 which is the maximum there should be and did
80 - number of caracthers present
replaced all ponctuation by spaces
trimmed the string so no spaces are before or after text
counted how many spaces
divided numbers of spaces left by the number of spaces there is
now i just want to know how i could add spaces between the words.
I can't seem to find a way..