Aide:StringMid.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
StringMid
###Description###
Extracts a number of characters from a string.
###Syntax###
StringMid ( "string", start [, count] )
###Parameters###
@@ParamTable@@
string
The string to evaluate.
start
The character position to start. (1 = first character)
count
[optional] The number of characters to extract. By default the entire remainder of the string.
@@End@@
###ReturnValue###
Returns the extracted string.
###Remarks###
If <i>start</i> is out-of-bounds, an empty string is returned. If <i>start</i> is valid but count is out-of-bounds, the entire remainder of the string is returned.
###Related###
StringInStr, StringLeft, StringLen, StringLower, StringRight, StringTrimLeft, StringTrimRight, StringUpper, StringCompare, StringReplace, StringSplit
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
StringMid
###Description###
Extraction d'un certain nombre de caractères d'une chaîne.
###Syntax###
StringMid ( "string", start [, count] )
###Parameters###
@@ParamTable@@
string
La chaîne à évaluer.
start
La position du caractère de départ. (1 = premier caractère)
count
[optionnel] Le nombre de caractères à extraire. Par défaut tout le reste de la chaîne.
@@End@@
###ReturnValue###
Retourne la chaîne extraite.
###Remarks###
Si <i>start</i> est hors limites, une chaîne vide est retournée. Si <i>start</i> est valide, mais <i>count</i> hors limites, le reste de la chaîne est renvoyée.
###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="StringRight.htm">StringRight</a>, <a href="StringTrimLeft.htm">StringTrimLeft</a>, <a href="StringTrimRight.htm">StringTrimRight</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 : Strofe
Contributeurs (pour les modifications avant le Wiki) : Tlem