Aide:StringTrimRight.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
StringTrimRight

###Description###
Trims a number of characters from the right hand side of a string.

###Syntax###
StringTrimRight ( "string", count )


###Parameters###
@@ParamTable@@
string
	The string to evaluate.
count
	The number of characters to trim.
@@End@@


###ReturnValue###
Returns the string trimmed by count characters from the right.


###Remarks###
If count is out-of-bounds, an empty string is returned.
StringTrimRight($str, $n) is functionally equivalent to StringLeft($str, StringLen($str) - $n)

###Related###
StringInStr, StringLeft, StringLen, StringLower, StringMid, StringRight, StringTrimLeft, StringUpper, StringCompare, StringReplace, StringSplit


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
StringTrimRight

###Description###
Coupe un nombre de caractères depuis la droite de la chaîne.


###Syntax###
StringTrimRight ( "string", count )


###Parameters###
@@ParamTable@@
string
	La chaîne à traiter.
count
	Le nombre de caractères à couper.
@@End@@


###ReturnValue###
Retourne la chaîne coupée du nombre <i>count</i> de caractères depuis la droite.


###Remarks###
Si <i>count</i> est hors-limites, une chaîne vide est retournée.
StringTrimRight($str, $n) est fonctionnellement équivalent to StringLeft($str, StringLen($str) - $n)


###Related###
<a href="StringInStr.htm">StringInStr</a>, <a href="StringLeft.htm">StringLeft</a>, <a href="StringLen.htm">StringLen</a>, <a href="StringLower.htm">StringLower</a>, <a href="StringMid.htm">StringMid</a>, <a href="StringRight.htm">StringRight</a>, <a href="StringTrimLeft.htm">StringTrimLeft</a>, <a href="StringUpper.htm">StringUpper</a>, <a href="StringCompare.htm">StringCompare</a>, <a href="StringReplace.htm">StringReplace</a>, <a href="StringSplit.htm">StringSplit</a>


###Example###
@@IncludeExample@@


Traducteur : Alex74

Contributeurs (pour les modifications avant le Wiki) : Tlem