Mudanças entre as edições de "Str len"
Ir para navegação
Ir para pesquisar
EquationNote>Happy-melon m (Reverted edits by Happy-melon (talk) to last version by Dragons flight) |
EquationNote>Davidgothberg (Copying this new string length template from my user-space sandbox.) |
||
Linha 1: | Linha 1: | ||
− | + | {{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }} <!-- str >= 500 --> | |
− | + | | 500 | |
− | | | + | | {{#expr: <!-- "expr" removes leading spaces and zeros --> |
− | + | {{str len full/core <!-- xx0-xx9 --> | |
− | |{{ | + | |{{#if:x|{{{1|}}}}} |
− | + | | {{str len full/core <!-- x0x-x9x --> | |
− | | | + | |{{#if:x|{{{1|}}}}} |
− | |{{ | + | | {{str len full/core <!-- 0xx-4xx --> |
− | + | |{{#if:x|{{{1|}}}}} | |
− | |{{ | + | | |00 |
− | + | }}|0 | |
− | |{{ | + | }}| |
− | |{{ | + | }} |
− | + | }} | |
− | | | + | }}<noinclude> |
− | |{{ | ||
− | |{{ | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | <!-- {{pp-template}} --> |
− | + | {{documentation}} | |
− | + | <!-- Add categories and interwikis to the /doc subpage, not here! --> | |
</noinclude> | </noinclude> |
Edição das 12h03min de 26 de março de 2009
{{#ifeq: x{{#if:x|}} | x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | 500 | {{#expr:
Predefinição:Str len full/core }}
}}
Erro de script: Nenhum módulo desse tipo "documentation".