That's what the ToString method on array does.

The code below illustrates a way to make a string from a character array.

1
2
3
4
5
6
7
 

let a = [| 'a'; 'b' |]
let s = new System.String(a)
printfn "%s" s

By on 7/19/2009 9:31 PM ()

Merci beaucoup, Brian. You are always very helpful.

By on 7/19/2009 11:45 PM ()
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