模板:Str mid

出自Positive WiKi
跳至導覽 跳至搜尋

{{#ifexpr:({{#if:||1}}=0) or (21=0)|

|{{#if:{{#if:|{{#if:|{{#if:|{{#ifexpr:((-0+1)<>0) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|}}}}|}}}}}}|Template:Error

 |字符串模块出错:截取字符串索引脱离区间}}}}{{safesubst:#switch: no
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = _IN:_i2=u_sublen3=u_j4=u_min=Template:Min_CORE:slen:21_i={{#if:}||{{#ifexpr:({{#if:|1|0}} and {{#if:|1|0}})|{{#expr:Template:Min-+{{#ifexpr:<0|-1|1}}}}|1}}}}_j=Template:Min_inv={{#ifexpr:{{#ifeq:||0|}}<0|yes|no}}_tchk={{#if:{{#if:|{{#if:|{{#if:|{{#ifexpr:((-0+1)<>0) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|}}}}|}}}}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:||1}}=0) or (21=0)}}

|#default = _IN:_i2=u_sublen3=u_j4=u_min=Template:Min_CORE:slen:21_i={{#if:}||{{#ifexpr:({{#if:|1|0}} and {{#if:|1|0}})|{{#expr:Template:Min-+{{#ifexpr:<0|-1|1}}}}|1}}}}_j=Template:Min_inv={{#ifexpr:{{#ifeq:||0|}}<0|yes|no}}_tchk={{#if:{{#if:|{{#if:|{{#if:|{{#ifexpr:((-0+1)<>0) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|}}}}|}}}}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:||1}}=0) or (21=0)}} }}

  • {{[[{{#switch:
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}

  • {{[[{{#switch:
|#default = Str mid/core 
| = 
   {{#ifeq:  | 
     | Template:Str mid/core            
     | Str mid/core      
   }}

}}|Str mid/core]]{{#if:||{{{arg}}}}}}}

  • {{[[{{#switch:
|#default = Str mid/testcases 
| = 
   {{#ifeq:  | 
     | Template:Str mid/testcases            
     | Str mid/testcases      
   }}

}}|Str mid/testcases]]{{#if:||{{{arg}}}}}}}

文件圖示 模板文件[建立]