String.Split is a very basic function: I'd use a Regular Expression which can be a lot more "intelligent" when it comes to string manipulations.
public static Regex regex = new Regex(
"(?<=\\()(\\d+\\.\\d{2})(?=\\))",
RegexOptions.Multiline
| RegexOptions.CultureInvariant
| RegexOptions.IgnorePatternWhitespace
| RegexOptions.Compiled
);
...
Match m = regex.Match("First Class Mail (Canada) (15.00)");
if (m.Success)
{
string value = m.Value;
...
}
"Do a favor
UPS NEXT DAY AIR (10.00 + 17.44 = 27.44)
How can we get 27.44 from above Line."
That takes a bit more thinking about, if you want to capture the originals as well...
Try this:
public static Regex regex = new Regex(
"(?<=\\()(?:[\\d\\s\\.+]+=\\s*)?(\\d+\\.\\d{2})(?=\\))",
RegexOptions.Multiline
| RegexOptions.CultureInvariant
| RegexOptions.IgnorePatternWhitespace
| RegexOptions.Compiled
);
Which should capture the numeric part of both...