ढाँचा:Str number/trim/doc

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

This is the {{Str number/trim}} template.

It takes a string as parameter, and returns the string trimmed to the beginning numbers. It is limited to 21 numbers.

Examples[सम्पादन गर्ने]

  • {{Str number/trim}}
  • {{Str number/trim|abcde}}
  • {{Str number/trim|123456}} → 123456
  • {{Str number/trim|123 456}} → 123
  • {{Str number/trim|1234abc}} → 1234
  • {{Str number/trim|1234abc56}} → 1234
  • {{Str number/trim|12345678901234567890}} → 12345678901234567890
  • {{Str number/trim|1234567890123456789012345}} → 123456789012345678901

See also[सम्पादन गर्ने]

Description of all string templates