Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$SENTENCE^XLFSTR(): Convert String to Sentence Case

Reference Type: Supported, Category: String Functions, Integration Agreement: 10104

Description

Released with Kernel Patch XU*8.0*400, this extrinsic function returns an input string converted to Sentence case. The initial character of each sentence in the input string will be capitalized and the remaining characters in that sentence are returned as all lowercase. The first character of the string begins a sentence. Subsequent sentences are identified as beginning after a period (.), exclamation point (!), or question mark (?).

Format

  $$SENTENCE^XLFSTR(x)

Input Parameters

x:

(required) Character string.

Output

returns:

Returns the string converted to Sentence case format.

Example

>S X=$$SENTENCE^XLFSTR("HELLO WORLD!!! THIS IS A CAPITALIZED SENTENCE. this isn't.")

>W X
Hello world!!! This is a capitalized sentence. This isn't.


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.