Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








Array.parse Function

Creates an array from a string representation. This function is static and can be invoked without creating an instance of the object.


var a = Array.parse(value);



The string to convert to an array.

Return Value

The array that results from splitting the input string, or an empty array if value is not supplied.


Exception Type Condition

argument Function

(Debug) value is formatted incorrectly.


The parse function populates the current array by splitting the string in value. The string in value must be in the format "['item1', 'item2', 'item3']" and must include quotation marks.