![]() |
|
Navigation |
Synopsis Convert a list to a string.
Function
str toString(list[&T] lst)
Usage
import List;
Description Convert
lst to a string.
Examples
rascal>import List; ok rascal>toString([10, 20, 30]); str: "[10,20,30]" rascal>toString(["zebra", "elephant", "snake", "owl"]); str: "[\"zebra\",\"elephant\",\"snake\",\"owl\"]" Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]() ![]() |