ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਮੌਡਿਊਲ:String/doc

Wikibooks ਤੋਂ

This is the documentation page for ਮੌਡਿਊਲ:String

Examples

[ਸੋਧੋ]
  • {{#invoke:string|sub|[[Help:Contents]]|3|-3}} → Help:Contents
  • {{#invoke:string|length|Help:Contents}}Script error: The function "length" does not exist.
  • {{#invoke:string|find|Help:Contents|Contents}} → 6
  • {{#invoke:string|find|Help:Contents|Contents|yes|no}} → 6
  • {{#invoke:string|find|Help:Contents|ABC|yes|no}} → 0
  • {{#invoke:string|replace|Help:Contents|Contents|Lua}} → Help:Lua
  • {{#invoke:string|trim|--Help:Contents--|-}}Script error: The function "trim" does not exist.