Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:Sublength/doc

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search

Usage[edit]

This template implements the sublength function of the String module. It returns a substring of the target string at a specified index and length.

It's similar to {{substr}} that it also uses a specified index. The difference between the two is that is this template assumes that the first character of the string is 0.

{{Sublength|Icecream|3|3}} --> cre

{{Sublength|Icecream|4}} --> ream