NCL Home > Documentation > Functions > Type converters

cshstringtolist

Converts a comma delimited string from csh and breaks it up into separate strings.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"  ; This library is automatically loaded
                                                             ; from NCL V6.2.0 onward.
                                                             ; No need for user to explicitly load.

	function cshstringtolist (
		cshlist  : string   
	)

	return_val [*] :  string

Arguments

cshlist

A comma delimited string. Note that there must be commas at the beginning and end (e.g. ,cat,dog,bird,).

Return value

An array of strings.

Description

Converts a comma delimited string from csh and breaks it up into separate strings.

See Also

str_split, str_split_csv

Examples

No examples are currently available for this function.