Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您可以获得介于数字和字母之间的文本,例如:
¸¶¹¹,示例⌐╙∙√∞∟
好吧,“示例”这个词被更改为一个文本框.. 显然我会放在必须是这个词之间,在这种情况下是:
¸¶¹¹ 和 ⌐╙∙√∞∟
问候和感谢
对不起我的英语不好,我会说西班牙语
如果我理解正确,您将有一个混合数字和字母的字符串。使用常规字符串函数仍然有效。他们不会关心字符串中的字符代表什么。例如:
string MyString = "¸¶¹¹,example⌐╙∙√∞∟"; if(MyString.Contains("example")) { MyString = MyString.Replace("example","and"); }
MyString = "¸¶¹¹,and⌐╙∙√∞∟" 在调用 replace 方法后。