/// <summary>
/// 半角に変更する
/// </summary>
/// <param name="input">文字列</param>
/// <returns>変更した文字列</returns>
public string ToSemiangle(string input)
{
char[] semiangle = input.ToCharArray();
/// 半角に変更する
/// </summary>
/// <param name="input">文字列</param>
/// <returns>変更した文字列</returns>
public string ToSemiangle(string input)
{
char[] semiangle = input.ToCharArray();
for (int i = 0; i < semiangle.Length; i++)
{
if (semiangle[i] == 12288)
{
semiangle[i] = (char)32;
continue;
}
if (semiangle[i] > 65280 && semiangle[i] < 65375)
{
semiangle[i] = (char)(semiangle[i] - 65248);
}
}
return new String(semiangle);
}
{
if (semiangle[i] == 12288)
{
semiangle[i] = (char)32;
continue;
}
if (semiangle[i] > 65280 && semiangle[i] < 65375)
{
semiangle[i] = (char)(semiangle[i] - 65248);
}
}
return new String(semiangle);
}
linklable
linklbl.LinkVisited = true;
System.Diagnostics.Process.Start(linklbl.Text);
System.Diagnostics.Process.Start(linklbl.Text);