toList

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

Description

The toList function removes the given separator in a string, and replaces it with a comma.

Syntax

String.toList("<separator>")

Return Value

Returns the list after replacing exisiting separator with a comma.

Example    

stringlist = "read/write/speak";

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