Editing Template:Str index/doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |
− | <! | ||
− | |||
− | |||
− | Base 1: the first character is numbered 1, and so on | + | === Usage === |
+ | <nowiki>{{str index|</nowiki>''text''|''number''<nowiki>}}</nowiki> = Returns the ''number''-th character of ''text''. Base 1: the first character is numbered 1, and so on. | ||
− | + | :{{Str character set documentation}} | |
− | |||
− | + | === Examples === | |
− | |||
− | |||
− | |||
− | ===Examples=== | ||
* <code>{{tlp|str index|0123456789ABCDEF|15}}</code> → {{str index|0123456789ABCDEF|15}} | * <code>{{tlp|str index|0123456789ABCDEF|15}}</code> → {{str index|0123456789ABCDEF|15}} | ||
* <code>{{tlp|str index|0123456789ABCDEF|18}}</code> → {{str index|0123456789ABCDEF|18 |nocategory=true}} | * <code>{{tlp|str index|0123456789ABCDEF|18}}</code> → {{str index|0123456789ABCDEF|18 |nocategory=true}} | ||
− | ===See also=== | + | === See also === |
− | {{String | + | {{String templates see also}} |
− | |||
<includeonly> | <includeonly> | ||
− | <! | + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
− | |||
[[Category:String manipulation templates]] | [[Category:String manipulation templates]] | ||
− | + | [[Category:Lua-based templates]] | |
+ | |||
+ | [[bg:Шаблон:Str index]] | ||
+ | [[de:Vorlage:Str index]] | ||
+ | [[es:Plantilla:Str index]] | ||
+ | [[id:Templat:Str index]] | ||
+ | [[ja:Template:Str index]] | ||
+ | [[ko:틀:Str index]] | ||
+ | [[pt:Predefinição:Str index]] | ||
+ | [[ru:Шаблон:Str index]] | ||
+ | [[sco:Template:Str index]] | ||
+ | [[sl:Predloga:Str index]] | ||
</includeonly> | </includeonly> |