在服务器端要做一个字符串嵌套操作。它将在动态格式。我正在尝试与剃刀引擎为这一点。任何想法..“Mystring.ToUpper().FirstPart(3).Replace(“M”,“Ok”)”这个字符串与函数名一起提到。
Var input = "Mystring.ToUpper().FirstPart(3).Replace("M","Ok");
FirstPart(int val){
.
.
return result;
}
output : OkYS
“我的字符串.ToUpper().第一部分(3).替换(“M”,“确定”)
Mystring.到上一个()= Mystring,
神秘字符串。第一部分(3)=马来西亚,
最小值替换(“最小值”,“确定”)=确定
注意:输入将是动态的。
“我的字符串.ToUpper().第一部分(3).替换(“M”,“确定”)”
(或)
Mystring.ToUpper().替换(“M”,“确定”)
(或)
“我的字符串.到下().第一部分(3)..
或任何..
1条答案
按热度按时间7kjnsjlb1#