FANDOM


1}}}
[edit] Template-info Template documentation

Returns string with all leading occurrences of target removed, but it won't remove target from the middle or end of the string. Use |1= if the string may contain an equals sign (=).

Usage

{{Remove leading|string|target}}

Examples

  • {{remove leading|1abcd|1}} → abcd
  • {{remove leading|111ab111cd111|1}} → ab111cd111
  • {{remove leading|123ab123cd123|123}} → ab123cd123
  • {{remove leading|123123ab123cd123|123}} → ab123cd123
Community content is available under CC-BY-SA unless otherwise noted.