Changes a string to proper case, same as the =Proper function in Excel
#include <String.au3>
_StringProper ( $sString )
$sString | Input string |
Success: | a proper string. |
Failure: | an empty string. |
This function will capitalize every character following a non-alpha character.
#include <MsgBoxConstants.au3>
#include <String.au3>
; Will return : Somebody Lastnames
MsgBox($MB_SYSTEMMODAL, '', _StringProper("somebody lastnames"))
; Will return : Some.Body Last(Name)
MsgBox($MB_SYSTEMMODAL, '', _StringProper("SOME.BODY LAST(NAME)"))
Exit