Well...
are you saying you want the number between the first and second space and the number after the third space?
If so...

1
2
3
4
5
6
7
8
9
10
let example = "12341234 35 in-lbs, 4 n.m "


let tokens = example.Split([|' '|], System.StringSplitOptions.RemoveEmptyEntries)


let n1 = System.Convert.ToInt32(tokens.[1])


let n2 = System.Convert.ToInt32(tokens.[3])
By on 6/2/2010 7:21 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper