apidoc::first_sentence (private)

 apidoc::first_sentence string

Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl

Parameters:
string (required)
Returns:
the first sentence of a string.

Testcases:
No testcase defined.
Source code:
        if { [regexp {^(.+?\.)\s} $string "" sentence] } {
            return $sentence
        }
        return $string
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: