@" \b \b"的简单问题 [英] Simple Problem with @"\b \b"
本文介绍了@" \b \b"的简单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从TextBox中读取一个字符串并在我的脚本中使用。
假设此TextBox名称为:txt3。
我想读取这个值并在下面的行中使用:
Hi,
I am trying read one string from TextBox and use in my scrip.
Suppose this TextBox name is: txt3.
I want read this value and use in below lines:
string s = Regex.Replace(str, @"\btxt3.Text\b", txt4.Text, RegexOptions.IgnoreCase);
如何写这个@\ btxt3.Text \ b?
我想把它写成:
string str == @\ btxt3.Text \ b;
如何写出来?
问候,
How I can write this @"\btxt3.Text\b" ?
I want write that as :
string str==@"\btxt3.Text\b";
How must be write that?
Regards,
推荐答案
如果这不是您问题的解决方案,请使用改善问题并更详细地解释您的问题。 />
If this is not the solution to your question, please use Improve Question and explain your problem in more detail.
string s = Regex.Replace(str, @"\b" + txt3.Text + @"\b", txt4.Text, RegexOptions.IgnoreCase);
这篇关于@" \b \b"的简单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文