If you’re looking for a one-liner to do that, you can pull the ?: operation out of the string interpolation and concatenate with + instead:
let fileExists = false // for example
println("something " + (fileExists ? "exists" : "does not exist"))
Outputs:
something does not exist