UDF > String >


_StringProper

Modifie une cha�ne en mettant les initiales des noms propres en majuscules, comme la fonction d'Excel =NomPropre()

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

Param�tre

$sString La cha�ne � modifier

Valeur de retour

Succ�s: Retourne une cha�ne Nompropre.
�chec: Retourne une cha�ne vide.

Remarque

Cette fonction mettra en capitale tous les caract�res qui suivent un caract�re non alpha.

En relation

StringLower(), StringUpper()

Exemple

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

; Retourne:e Somebody Lastnames
MsgBox($MB_SYSTEMMODAL, '', _StringProper("somebody lastnames"))
; Retour: Some.Body Last (Name)
MsgBox($MB_SYSTEMMODAL, '', _StringProper("SOME.BODY LAST(NAME)"))
Exit