how to add " - " if word is bigger than 20 characters.
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.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!