Core.Printf
Print line
1Core.printf "hello ";;hello - : unit = ()1Core.printf "%s%c" "world" '!';;world!- : unit = ()Print line to string
1let s = Core.sprintf "hello";;s;;
- : string = "hello"1Core.printf "hello ";;hello - : unit = ()1Core.printf "%s%c" "world" '!';;world!- : unit = ()1let s = Core.sprintf "hello";;s;;
- : string = "hello"