If you are using .NET 3.5 or higher, it is easy to use LINQ to Objects:
stringCutted = myString.Split('/').Last();
Note that Last() (without a predicate) is optimized for the case where the source implements IList<T> (as a one-dimensional array), so this will not lead to iterating over the entire array to find the last element. On the other hand, this optimization is undocumented ...
Jon Skeet Aug 31 '11 at 12:27 2011-08-31 12:27
source share