Q:

Remove a bit of a string before a word

I have string like this:
G:\Projects\TestApp\TestWeb\Files\Upload\file.jpg

How can I remove all text before "Files" (G:\Projects\TestApp\TestWeb)?
The string before files can changed, so I can't count characters and remove them after 20 characters.
Thanks for your help :)

A:

try this    
string s = oldString.Substring(oldString.IndexOf("Files"));

Thanks for Meta-Knight's comment,
if another "Files" can be in early part of the string then better would be..
string s = oldString.Substring(oldString.LastIndexOf("Files"));

