stringArray function

Syntax

  • string[] stringArray()
  • string[] stringArray(values)

Parameters

  1. values—((float[], string[], bool[])
    Values to convert.

Returns

If values is not given, an empty string array is returned.

If values is given, a string array is returned that contains the elements of values converted to the corresponding string values.

Related

Examples

example.1
	stringArray([1, 0, 1.777, 20])
	# result = [1,0,1.777,20]
example.2    
	stringArray(["true", "CityEngine", ""])
	# result = [true,CityEngine,]
example.3
	stringArray([true, false, true])
	# result = [true,false,true]


In this topic