Modèle:Str sub long/Documentation

Utilisation modifier

Description 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 modifier

The template takes a substring of ''text'' starting at ''start'' and containing ''length'' characters.

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Text1

The substring to be trimmed.

Chaîneobligatoire
Numeric position2

Numeric position of the starting character within the string

Nombreobligatoire
Count3

Number of characters for the substring

Nombreobligatoire