string enqury

Is there a way to split a string and echo the first word in the string.

Yes. Try substr().

Sponsor our Newsletter | Privacy Policy | Terms of Service