printing with format is printing quotation marks?

1996 views f#

When I run printfn "hello", the outcome is hello (without quotation marks). However, when I run

let mystring = "hello"
printfn "%A" mystring

the outcome is "hello" (with quotation marks). Why is this and how can I then print with a format/parameter without having quotation marks appear?

answered question

1 Answer


printfn "%s" "hello"

Here is the Documentation and another helpful link

posted this

Have an answer?


Please login first before posting an answer.