Modèle:Str sub long/Documentation
Utilisation
modifierDescription du rôle de ce modèle à compléter.
Syntaxe
modifier{{Str sub long|text|start|length}}
= Substring of text starting at start and containing length characters. Base 0: the first character is numbered 0, and so on, e.g. {{Str sub long|20090624130510|8|2}} returns the 2 characters starting at the 9th, i.e. "13"
Paramètres
modifierThe template takes a substring of ''text'' starting at ''start'' and containing ''length'' characters.
Paramètre | Description | Type | État | |
---|---|---|---|---|
Text | 1 | The substring to be trimmed. | Chaîne | obligatoire |
Numeric position | 2 | Numeric position of the starting character within the string | Nombre | obligatoire |
Count | 3 | Number of characters for the substring | Nombre | obligatoire |