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

$$TITLE^XLFSTR(): Convert String to Title 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 Title case. The initial letter of the first block of characters (i.e., word) in the input string is capitalized and the remaining characters of that first word are returned as all lowercase. Also, the initial letter of any subsequent word in the input string is capitalized and the remaining characters in that word are returned as all lowercase. A word is identified when it is preceded by at least one space, except for the first word in the string.

Format

  $$TITLE^XLFSTR(x)

Input Parameters

x:

(required) Character string.

Output

returns:

Returns the string converted to Title case format.

Example

>S X=$$TITLE^XLFSTR("HELLO WORLD!!! THIS IS A title-form SENTENCE. so is this.")

>W X
Hello World!!! This Is A Title-form Sentence. So Is This.


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.