using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
//布尔判断字符串中是否包含字符串
namespace ojoj
{
class Program
{
static void Main(string[] arg)
{
string str = "我是个大帅哥。额";
bool b = str.Contains("。");
Console.WriteLine(b);
Console.ReadKey();
}
}
}
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交