Dave's WordPress home in the Fediverse :-)

firstSentence, a JavaScript function that returns the first sentence in a string. Useful in coming up with something to display for an untitled post. It’s always been a klooge, but this time with Claude’s help we’re using a new API in JavaScript, and supposedly it really works. I’m using it in one of my apps, and you might find it useful too, and let me know if it works for you. #

Last update: 10/13/26; 11:26:34 AM.

Discover more from daveverse

Subscribe now to keep reading and get access to the full archive.

Continue reading