Is there a way to display only the first word from an h2 heading?
For instance:
In the website's source code, it would appear like this
<h2> Stackoverflow is an Ideal Place</h2>
But on the live website, it should be displayed like this
Stackoverflow
The goal is to show only the FIRST WORD from the entire heading while still allowing search engines to read the full title.