Jump to content

User:Davidgothberg/Test52

From Wikipedia, the free encyclopedia

Testing string templates

[edit]
+{{str left| |0}}+

+{{str left| |1}}+

+{{str left| a |1}}+

+{{str left| ab de |3}}+

++

++

+a+

+ab +



+{{str index| a b | 1 }}+

+{{str index| a b | 2 }}+

+{{str index| a b | 3 }}+

+{{str index| a b | 5 }}+

+a+

+ +

+b+

+String Module Error: String index out of range+


+{{str find| abcde |a}}+

+{{str find| abcde |cd}}+

+{{str find| ab cde | cd}}+

+{{str find| abcde |b }}+

+{{str find| ab cde |b }}+

+1+

+3+

+3+

+-1+

+2+


+{{str find| ab cde |b}}+

+{{str find| ab cde |c}}+

+{{str find| ab cde |b c}}+

+2+

+4+

+2+



This is a hardcoded fmbox.
This is a hardcoded fmbox.
This is a hardcoded fmbox.

This is a div based fmbox.