C# - Substring problem

Associate
Joined
14 Jan 2010
Posts
1,192
Location
Northern Ireland
Trying to shorten a string.

Code:
            string[] Files = Directory.GetFiles(path, "*.SAV");
            foreach (string s in Files)
            {
                s.Substring(30, 10);
                listView1.Items.Add(s);
            }

But it doesn't actually change the string at all for some reason, help?
 
Back
Top Bottom