Function Reference


_StringTitleCase

Changes a string to a title case string

#include <String.au3>
_StringTitleCase ( $sString )

Parameters

$sString Input string

Return Value

Success: a titlecased string.
Failure: an empty string.

Remarks

This function will capitalize the first character of every word. Does not support unicode strings.

Related

_StringProper

Example

#include <MsgBoxConstants.au3>
#include <String.au3>

Local $sString = "'she's all 'that' I, wAnt (" & '1st "disk" of 2)'
MsgBox($MB_SYSTEMMODAL, '', 'Original string: ' & $sString & @CRLF & _ ; Display the orginal and titlecased string.
                'Titlecased string: ' & _StringTitleCase($sString) & @CRLF)