Is there a way using a Text Editor object along with TextEditingResult variable to edit a multidimensional array? Here is an example.
PhoneNumberDescription;PhoneNumber;PhoneExt (each “record” separated by a cr())
So the data is.
Work;(555) 555-555;ext 1
This Phone array is in a variable called vPeoplePhoneArray. I have the Text Editor Object showing the correct value and I have I have tried this code to change Fax (the second “record” of the cr() array), but I can’t get it to work. It keeps changing the the first Array element of the cr() delimited main array (Work). It won’t change the 2nd line (Fax)
vPeoplePhoneArray=arraychange(Array(vPeoplePhoneArray,2,cr()), TextEditingResult, 1, “;”)