Contact: aviboots(AT)netvision.net.il
43,888 questions
57,280 answers
573 users
using System; public class Program { public static void Main(string[] args) { string str = "c# c java c++ python go"; int pos = str.LastIndexOf(' '); // strrpos() Console.WriteLine(pos); } } /* run: 20 */