Template:Str startswith

Revision as of 18:00, 27 December 2025 by Wikipedia>MusikBot II (Changed protection settings for "Template:Str startswith": High-risk template or module: 2500 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Str startswith/doc" to edit its documentation if it is available. (How does this work?)

This is the {{Str startswith}} meta-template.

It returns "yes" if the second parameter is the start of the first parameter. Both parameters are trimmed before use.

Examples

Border cases:

See also

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).