string.IndexOf([検索文字列],[検索開始文字数]); //戻り値 int
if([文字列1] == [文字列2])
if([文字列1].Equals([文字列2]))
if (System.Text.RegularExpressions.Regex.Match([元の文字列],[検索文字列]).Success == true) { }
string = [文字列1] + [文字列2];
using System.Text; StringBuilder sb = new StringBuilder(); sb.Append([文字列1]); sb.Append([文字列2]);