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