Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • API
  • Functions
  • Data Type
  • Array Functions
  • *string_to_array Function
Parent | Child | Previous | Next
  • *ARRAY_APPEND Function
  • *array_append_property Function
  • *array_ranged_assign Function
  • *ARRAY_RANGED_REFERENCE_TO_RANGE Function
  • *string_to_array Function
  • A5_ADO_TO_ARRAY Function
  • a5_array_from_string Function
  • a5_cp2_updatearrayalllibs Function
  • a5_createcolumnarray Function
  • a5_dbf_to_array Function
  • a5_getmovelogicfunctions Function
  • a5_getmovelogicfunctions_ajax Function
  • a5_getxbfmwktodo2 Function
  • a5_hyperlinkparameters Function
  • a5_parray_from_string Function
  • a5_parse_set_tree Function
  • a5_unique_array_entries Function
  • a5w_rulessave Function
  • a5wcb_convertmergecellstofreeform Function
  • a5wcb_createlayoutarray Function
  • argument_add_array_argument Function
  • ArrayType Function
  • ISARRAY Function
  • Iterating Through Arrays, Collections, and Lists
  • reverseArray Function
  • SORT_ARRAY Function
  • split Function
  • Using the A5_ADO_TO_ARRAY__ function
 
Xbasic

*string_to_array Function

Syntax

P *STRING_TO_ARRAY(C string_variable)

Arguments

string_variable

Character variable, must be a variable passed by reference.

Description

Treat a character string variable as an character array, each line represents an array entry.

Example

dim mystringvar as c = comma_to_crlf("one,two,three")

p  = *string_to_array(mystringvar)
? p.size()
= 3
? p[1]
= "one"
? p[2]
= "two"
? p[3]
= "three"

See Also

  • Array Functions
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy