Creator Help

toList

This topic describes the syntax and usage of the toList function in Zoho Creator

Description

The toList function converts the string to list using the given separator(default separator is ',' (comma)

Syntax

String.toList(<optional separator>)

The toList function syntax has the following arguments.

separator - optional. The default separator is ',' (comma)

Return Value

Returns the list.

Example    

stringlist = "read write speak";

stringlist.toList(" ");             //returns read, write, speak

Top