Topic Missing quotes on string elements of lists expresses my surprise on the output of user-message [“1” “2” “3”]' not showing the quotes.
@ERSUCC suggested to write a function to do the conversion.
I have called the function repr in analogy with Python’s function for a similar purpose.
It turned out that the function needs a string substitution function, which I could not find in NetLogo.
So, the accompanying include file constains function substitute as well as function repr.
Feel free to include this file in any NetLogo models.
Formally, I have put the code under GPL license. (Without a license, it is formally free-for-nobody…)