-
Notifications
You must be signed in to change notification settings - Fork 1
ArrayString
Hyomoto edited this page Nov 29, 2020
·
14 revisions
Jump To | Go Back |
Arguments | Methods | Variables |
---|
Implements: Array
An Array wrapper specifically for holding and sorting strings.
var _array = new ArrayString( "Hello", "Amanda", "Cars", "Banana" );
_array.sort( true );
show_debug_message( _array );
Name | Type | Purpose |
---|---|---|
array/size | undef |
{mixed} Either the starting array to use, or the size of the array to create. |
default | undef |
{mixed} optional: if provided, will fill the newly created array. Default: undefined
|
Jump To | top |
sort |
---|
Returns: N/A undefined
Name | Type | Purpose |
---|---|---|
ascending | bool |
If true, will sort from A-Z, otherwise Z-A |
Sorts the array in alphabetical order.
Jump To | top |
---|
No variables defined.
Devon Mullane 2020