string last = input.Split(' ').LastOrDefault();
string lastBit = input.Substring(input.LastIndexOf('/'));
Uri uri = new Uri(" https://www.codeproject.com/Questions/5225378"); string lastSegment = uri.Segments.Last();
string last = input.Split('/').Last();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)