StringGetCharacter

Rend la copie de la chaîne avec la valeur changée du symbole dans la position indiquée.

ushort  StringGetCharacter(
   string  string_value,     // chaîne
   int     pos               // position du symbole dans la chaîne
   );

Paramètres

string_value

[in]  La chaîne.

pos

[in]  La position du symbole dans la chaîne. Peut être de 0 jusqu'à StringLen(text) -1.

La valeur rendue

Le code du symbole ou 0 en cas d'une erreur. Pour la réception du code de l'erreur il faut appeler la fonction GetLastError().

Voir aussi

StringSetCharacter, StringBufferLen, StringLen, StringFill, StringInit, StringToCharArray, StringToShortArray