Data conversion array->Object for excel
Posted: Tue Jun 21, 2022 11:37 pm
HI Alex,
You can't just cast a OBJECT[] to a STRING[], those are not compatible. Instead, you need to write code that enumerates the OBJECT[] returned by _ArrayToObjectArray() and put each item to the STRING[]. If this still doesn't work, please post a complete code snippet so we can have a look.
About your other function, the correct way to instantiate a STRING[] is this:
.
You can't just cast a OBJECT[] to a STRING[], those are not compatible. Instead, you need to write code that enumerates the OBJECT[] returned by _ArrayToObjectArray() and put each item to the STRING[]. If this still doesn't work, please post a complete code snippet so we can have a look.
About your other function, the correct way to instantiate a STRING[] is this:
Code: Select all
output:=System.String[]{ALen(input)}