Hi, I can get the first three characters with the function below.
However, how can I get the output of the last five characters (Three) with Substring()
function. Or other string function will be used?
Thank you.
static void Main()
{
string input = "OneTwoThree";
// Get first three characters
string sub = input.Substring(0, 3);
Console.WriteLine("Substring: {0}", sub); // Output One.
}