Шаблон:Str index: различия между версиями

Материал из Posmotrelisu
Перейти к навигации Перейти к поиску
(Новая страница: «<includeonly>{{{{{|safesubst:}}}str ≥ len | 1 = {{{1|}}} | 2 = {{{2|0}}} | 3 = {{{{{|safesubst:}}}#ifexpr:{{{2|0}}} >= 1 | {{{{{|safesubst:}}}#Invoke:String|sub|s={{{1|}}}|i={{{2}}}|j={{{2}}} }} | {{FormattingError |nocategory={{{nocategory|}}} |((str index)): Index is less than 1.}} }} | 4 = {{FormattingError |nocategory={{{nocategory|}}} |((str index)): String is not long enough.}} }}</includeonly><noinclude> {{documentation}} </noinclude>»)
 
 
(не показана 1 промежуточная версия этого же участника)
Строка 2: Строка 2:
| 1 = {{{1|}}}
| 1 = {{{1|}}}
| 2 = {{{2|0}}}
| 2 = {{{2|0}}}
| 3 = {{{{{|safesubst:}}}#ifexpr:{{{2|0}}} >= 1 | {{{{{|safesubst:}}}#Invoke:String|sub|s={{{1|}}}|i={{{2}}}|j={{{2}}} }}  
| 3 = {{{{{|safesubst:}}}str index/logic |nocategory={{{nocategory|}}} |*{{{{{|safesubst:}}}str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{{2|0}}}}}*|{{{{{|safesubst:}}}str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{{{{|safesubst:}}}#expr:{{{2|0}}}-1}}}}}}
  | {{FormattingError |nocategory={{{nocategory|}}} |((str index)): Index is less than 1.}} }}
| 4 = {{FormattingError |nocategory={{{nocategory|}}} |((str index)): String is not long enough.}}
| 4 = {{FormattingError |nocategory={{{nocategory|}}} |((str index)): String is not long enough.}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{doc}}
</noinclude>
</noinclude>

Текущая версия на 19:05, 18 февраля 2023