Wednesday, 11 September 2013

Get numerical part of a string

Get numerical part of a string

I have a string like "1000/Refuse5.jpg" or "50/Refuse5.jpeg". Note that
the first section of string-in this examples 1000 or 50-is variable. I
want to get the "5" number from this strings by C# methods. Can someone
help me?

No comments:

Post a Comment