If I have a string saying \"abc.txt\", is there a quick way to get a substring that is just \"abc\"?
\"abc.txt\"
\"abc\"
I can\'t do an fileName.IndexOf(
fileName.IndexOf(
You maybe not asking the UWP api. But in UWP, file.DisplayName is the name without extensions. Hope useful for others.
file.DisplayName