Шаблон:Str number/trimE/док — разлика између измена

Iz Vojne Enciklopedije
Пређи на навигацију Пређи на претрагу
[непроверена измена][непроверена измена]
(+)
 
м (1 измена увезена)
 
(нема разлике)

Тренутна верзија на датум 5. фебруар 2021. у 13:30

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

The Template:Str_number/trimE extracts a number at the end of parameter 1.

It takes a string as parameter, and returns the string trimmed to the ending number if non-numeric text does not appear after the last number.

Examples

  • {{Str number/trimE}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|abcde}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|abcde123}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|123456}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|123 456}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|1976–2006}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|19/76+2006}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|1234abc}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|1234abc56}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|12345678901234567890}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|1234567890123456789012345}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE| 1234567890123456789012345}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
  • {{Str number/trimE|13<ref>a reference</ref>}}Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

See also

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

References

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted