Dev0ps
6 months ago

how to add " - " if word is bigger than 20 characters.

Posted 6 months ago by Dev0ps

i use

wordwrap ($text, 20 , "-", true);

its work fine but it adds " - " for every new line as well

Please sign in or create an account to participate in this conversation.