Label1.Text="Name : Mohd Wasif";
Mohd wasif
str1.substring(7);
System.Text.StringBuilder
System.Text.StringBuilder.ToString()
string s = "Name : Mohd Wasif"; string[] words = s.Split( ':'); // split string on seperator Label.Text = words[1].Trim( ); // assign trimmed value without leading or trailing spaces
Label1.Text.SubString(7);
Label1.Text.Replace("Name : ", Label1.Text);
Label1.Text
Regex.Match(input, @"^Name\s:\s(?<name>.+.?)", RegexOptions.IgnoreCase | RegexOptions.Compiled).Groups["name"].Value </name>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)