If my output string is too long, I want to add doted after some words in PHP. How can I apply the dot symbol for a long string?
If my string like
echo $data['message']
Output: “Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.”
I need output,
“Lorem Ipsum is simply dummy…”
Question and answer is powered by AnsPress.io