Vorlage:Strlen
Aus Kitakien
(Unterschied zwischen Versionen)
(«+{{esoteric}}») |
K (Schützte „Vorlage:Strlen“: Selten zu ändernde Vorlage ([edit=autoconfirmed] (unbeschränkt) [move=sysop] (unbeschränkt))) |
||
(Der Versionsvergleich bezieht 18 dazwischenliegende Versionen mit ein.) | |||
Zeile 1: | Zeile 1: | ||
- | <includeonly>{{#switch: {{{1|}}} | + | <includeonly>{{{{{subst|}}}#switch: {{{1|}}} |
- | |{{padright:{{{1|}}}|64 |*}} = 64 | + | |=0 |
- | |{{padright:{{{1|}}}|63 |*}} = 63 | + | |{{{{{subst|}}}padright:{{{1|}}}|128 |*}} = 128 |
- | |{{padright:{{{1|}}}|62 |*}} = 62 | + | |{{{{{subst|}}}padright:{{{1|}}}|127 |*}} = 127 |
- | |{{padright:{{{1|}}}|61 |*}} = 61 | + | |{{{{{subst|}}}padright:{{{1|}}}|126 |*}} = 126 |
- | |{{padright:{{{1|}}}|60 |*}} = 60 | + | |{{{{{subst|}}}padright:{{{1|}}}|125 |*}} = 125 |
- | |{{padright:{{{1|}}}|59 |*}} = 59 | + | |{{{{{subst|}}}padright:{{{1|}}}|124 |*}} = 124 |
- | |{{padright:{{{1|}}}|58 |*}} = 58 | + | |{{{{{subst|}}}padright:{{{1|}}}|123 |*}} = 123 |
- | |{{padright:{{{1|}}}|57 |*}} = 57 | + | |{{{{{subst|}}}padright:{{{1|}}}|122 |*}} = 122 |
- | |{{padright:{{{1|}}}|56 |*}} = 56 | + | |{{{{{subst|}}}padright:{{{1|}}}|121 |*}} = 121 |
- | |{{padright:{{{1|}}}|55 |*}} = 55 | + | |{{{{{subst|}}}padright:{{{1|}}}|120 |*}} = 120 |
- | |{{padright:{{{1|}}}|54 |*}} = 54 | + | |{{{{{subst|}}}padright:{{{1|}}}|119 |*}} = 119 |
- | |{{padright:{{{1|}}}|53 |*}} = 53 | + | |{{{{{subst|}}}padright:{{{1|}}}|118 |*}} = 118 |
- | |{{padright:{{{1|}}}|52 |*}} = 52 | + | |{{{{{subst|}}}padright:{{{1|}}}|117 |*}} = 117 |
- | |{{padright:{{{1|}}}|51 |*}} = 51 | + | |{{{{{subst|}}}padright:{{{1|}}}|116 |*}} = 116 |
- | |{{padright:{{{1|}}}|50 |*}} = 50 | + | |{{{{{subst|}}}padright:{{{1|}}}|115 |*}} = 115 |
- | |{{padright:{{{1|}}}|49 |*}} = 49 | + | |{{{{{subst|}}}padright:{{{1|}}}|114 |*}} = 114 |
- | |{{padright:{{{1|}}}|48 |*}} = 48 | + | |{{{{{subst|}}}padright:{{{1|}}}|113 |*}} = 113 |
- | |{{padright:{{{1|}}}|47 |*}} = 47 | + | |{{{{{subst|}}}padright:{{{1|}}}|112 |*}} = 112 |
- | |{{padright:{{{1|}}}|46 |*}} = 46 | + | |{{{{{subst|}}}padright:{{{1|}}}|110 |*}} = 110 |
- | |{{padright:{{{1|}}}|45 |*}} = 45 | + | |{{{{{subst|}}}padright:{{{1|}}}|109 |*}} = 109 |
- | |{{padright:{{{1|}}}|44 |*}} = 44 | + | |{{{{{subst|}}}padright:{{{1|}}}|108 |*}} = 108 |
- | |{{padright:{{{1|}}}|43 |*}} = 43 | + | |{{{{{subst|}}}padright:{{{1|}}}|107 |*}} = 107 |
- | |{{padright:{{{1|}}}|42 |*}} = 42 | + | |{{{{{subst|}}}padright:{{{1|}}}|106 |*}} = 106 |
- | |{{padright:{{{1|}}}|41 |*}} = 41 | + | |{{{{{subst|}}}padright:{{{1|}}}|105 |*}} = 105 |
- | |{{padright:{{{1|}}}|40 |*}} = 40 | + | |{{{{{subst|}}}padright:{{{1|}}}|104 |*}} = 104 |
- | |{{padright:{{{1|}}}|39 |*}} = 39 | + | |{{{{{subst|}}}padright:{{{1|}}}|103 |*}} = 103 |
- | |{{padright:{{{1|}}}|38 |*}} = 38 | + | |{{{{{subst|}}}padright:{{{1|}}}|102 |*}} = 102 |
- | |{{padright:{{{1|}}}|37 |*}} = 37 | + | |{{{{{subst|}}}padright:{{{1|}}}|101 |*}} = 101 |
- | |{{padright:{{{1|}}}|36 |*}} = 36 | + | |{{{{{subst|}}}padright:{{{1|}}}|100 |*}} = 100 |
- | |{{padright:{{{1|}}}|35 |*}} = 35 | + | |{{{{{subst|}}}padright:{{{1|}}}|99 |*}} = 99 |
- | |{{padright:{{{1|}}}|34 |*}} = 34 | + | |{{{{{subst|}}}padright:{{{1|}}}|98 |*}} = 98 |
- | |{{padright:{{{1|}}}|33 |*}} = 33 | + | |{{{{{subst|}}}padright:{{{1|}}}|97 |*}} = 97 |
- | |{{padright:{{{1|}}}|32 |*}} = 32 | + | |{{{{{subst|}}}padright:{{{1|}}}|96 |*}} = 96 |
- | |{{padright:{{{1|}}}|31 |*}} = 31 | + | |{{{{{subst|}}}padright:{{{1|}}}|95 |*}} = 95 |
- | |{{padright:{{{1|}}}|30 |*}} = 30 | + | |{{{{{subst|}}}padright:{{{1|}}}|94 |*}} = 94 |
- | |{{padright:{{{1|}}}|29 |*}} = 29 | + | |{{{{{subst|}}}padright:{{{1|}}}|93 |*}} = 93 |
- | |{{padright:{{{1|}}}|28 |*}} = 28 | + | |{{{{{subst|}}}padright:{{{1|}}}|92 |*}} = 92 |
- | |{{padright:{{{1|}}}|27 |*}} = 27 | + | |{{{{{subst|}}}padright:{{{1|}}}|91 |*}} = 91 |
- | |{{padright:{{{1|}}}|26 |*}} = 26 | + | |{{{{{subst|}}}padright:{{{1|}}}|90 |*}} = 90 |
- | |{{padright:{{{1|}}}|25 |*}} = 25 | + | |{{{{{subst|}}}padright:{{{1|}}}|89 |*}} = 89 |
- | |{{padright:{{{1|}}}|24 |*}} = 24 | + | |{{{{{subst|}}}padright:{{{1|}}}|88 |*}} = 88 |
- | |{{padright:{{{1|}}}|23 |*}} = 23 | + | |{{{{{subst|}}}padright:{{{1|}}}|87 |*}} = 87 |
- | |{{padright:{{{1|}}}|22 |*}} = 22 | + | |{{{{{subst|}}}padright:{{{1|}}}|86 |*}} = 86 |
- | |{{padright:{{{1|}}}|21 |*}} = 21 | + | |{{{{{subst|}}}padright:{{{1|}}}|85 |*}} = 85 |
- | |{{padright:{{{1|}}}|20 |*}} = 20 | + | |{{{{{subst|}}}padright:{{{1|}}}|84 |*}} = 84 |
- | |{{padright:{{{1|}}}|19 |*}} = 19 | + | |{{{{{subst|}}}padright:{{{1|}}}|83 |*}} = 83 |
- | |{{padright:{{{1|}}}|18 |*}} = 18 | + | |{{{{{subst|}}}padright:{{{1|}}}|82 |*}} = 82 |
- | |{{padright:{{{1|}}}|17 |*}} = 17 | + | |{{{{{subst|}}}padright:{{{1|}}}|81 |*}} = 81 |
- | |{{padright:{{{1|}}}|16 |*}} = 16 | + | |{{{{{subst|}}}padright:{{{1|}}}|80 |*}} = 80 |
- | |{{padright:{{{1|}}}|15 |*}} = 15 | + | |{{{{{subst|}}}padright:{{{1|}}}|79 |*}} = 79 |
- | |{{padright:{{{1|}}}|14 |*}} = 14 | + | |{{{{{subst|}}}padright:{{{1|}}}|78 |*}} = 78 |
- | |{{padright:{{{1|}}}|13 |*}} = 13 | + | |{{{{{subst|}}}padright:{{{1|}}}|77 |*}} = 77 |
- | |{{padright:{{{1|}}}|12 |*}} = 12 | + | |{{{{{subst|}}}padright:{{{1|}}}|76 |*}} = 76 |
- | |{{padright:{{{1|}}}|11 |*}} = 11 | + | |{{{{{subst|}}}padright:{{{1|}}}|75 |*}} = 75 |
- | |{{padright:{{{1|}}}|10 |*}} = 10 | + | |{{{{{subst|}}}padright:{{{1|}}}|74 |*}} = 74 |
- | |{{padright:{{{1|}}}|9 |*}} = 9 | + | |{{{{{subst|}}}padright:{{{1|}}}|73 |*}} = 73 |
- | |{{padright:{{{1|}}}|8 |*}} = 8 | + | |{{{{{subst|}}}padright:{{{1|}}}|72 |*}} = 72 |
- | |{{padright:{{{1|}}}|7 |*}} = 7 | + | |{{{{{subst|}}}padright:{{{1|}}}|71 |*}} = 71 |
- | |{{padright:{{{1|}}}|6 |*}} = 6 | + | |{{{{{subst|}}}padright:{{{1|}}}|70 |*}} = 70 |
- | |{{padright:{{{1|}}}|5 |*}} = 5 | + | |{{{{{subst|}}}padright:{{{1|}}}|69 |*}} = 69 |
- | |{{padright:{{{1|}}}|4 |*}} = 4 | + | |{{{{{subst|}}}padright:{{{1|}}}|68 |*}} = 68 |
- | |{{padright:{{{1|}}}|3 |*}} = 3 | + | |{{{{{subst|}}}padright:{{{1|}}}|67 |*}} = 67 |
- | |{{padright:{{{1|}}}|2 |*}} = 2 | + | |{{{{{subst|}}}padright:{{{1|}}}|66 |*}} = 66 |
- | |{{padright:{{{1|}}}|1 |*}} = 1 | + | |{{{{{subst|}}}padright:{{{1|}}}|65 |*}} = 65 |
- | |#default = | + | |{{{{{subst|}}}padright:{{{1|}}}|64 |*}} = 64 |
+ | |{{{{{subst|}}}padright:{{{1|}}}|63 |*}} = 63 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|62 |*}} = 62 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|61 |*}} = 61 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|60 |*}} = 60 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|59 |*}} = 59 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|58 |*}} = 58 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|57 |*}} = 57 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|56 |*}} = 56 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|55 |*}} = 55 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|54 |*}} = 54 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|53 |*}} = 53 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|52 |*}} = 52 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|51 |*}} = 51 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|50 |*}} = 50 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|49 |*}} = 49 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|48 |*}} = 48 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|47 |*}} = 47 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|46 |*}} = 46 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|45 |*}} = 45 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|44 |*}} = 44 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|43 |*}} = 43 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|42 |*}} = 42 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|41 |*}} = 41 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|40 |*}} = 40 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|39 |*}} = 39 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|38 |*}} = 38 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|37 |*}} = 37 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|36 |*}} = 36 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|35 |*}} = 35 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|34 |*}} = 34 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|33 |*}} = 33 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|32 |*}} = 32 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|31 |*}} = 31 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|30 |*}} = 30 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|29 |*}} = 29 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|28 |*}} = 28 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|27 |*}} = 27 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|26 |*}} = 26 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|25 |*}} = 25 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|24 |*}} = 24 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|23 |*}} = 23 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|22 |*}} = 22 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|21 |*}} = 21 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|20 |*}} = 20 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|19 |*}} = 19 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|18 |*}} = 18 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|17 |*}} = 17 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|16 |*}} = 16 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|15 |*}} = 15 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|14 |*}} = 14 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|13 |*}} = 13 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|12 |*}} = 12 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|11 |*}} = 11 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|10 |*}} = 10 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|9 |*}} = 9 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|8 |*}} = 8 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|7 |*}} = 7 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|6 |*}} = 6 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|5 |*}} = 5 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|4 |*}} = 4 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|3 |*}} = 3 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|2 |*}} = 2 | ||
+ | |{{{{{subst|}}}padright:{{{1|}}}|1 |*}} = 1 | ||
+ | |#default = -1 | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
- | {{ | + | {{Dokumentation}} |
- | + | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 15:36, 9. Dez. 2009
[Vorschau] [bearbeiten] [Version/Autoren] [erneuern]
Datei:Information.svg Dokumentation
Diese Vorlage dient der Ermittlung einer Stringlänge.
- Sie funktioniert bei einer Länge zwischen 0 und 128 Zeichen.
- Führende und nachfolgende Leerzeichen bleiben unberücksichtigt.
- Entities (z.B. ) werden nicht ausgewertet, sondern als String behandelt (bei also 6 Zeichen).
Einziger Parameter ist der String.
Kopiervorlage
{{Strlen| }}
Parameter
- 1 (Standardparameter) der String
Beispiele
{{strlen|Hallo Wikipedia!}}
- ergibt 16
{{strlen|Das ist ein absolut schöner Tag heute.}}
- ergibt 38
Wenn du Fragen zu dieser Vorlage hast, dann kannst du auf der Seite Kitakien Diskussion:Wikiprojekt Vorlage fragen. |
Datei:Information icon.svg |
|