WLJS LogoWLJS Notebook

TextSentences

TextSentences["string"] gives a list of the runs of characters identified as sentences in string.

  • TextSentences["string", n] gives the first n sentences in string.

Examples

TextSentences["Hello world. How are you? I am fine."]
TextSentences["First sentence. Second sentence. Third sentence.", 2]

Please visit the official Wolfram Language Reference for more details.

On this page