Hi,
I'm getting a text from the gui's text edit uicontrol (style = edit).
Then I try to do some DB insert using JDBC connection.
It works fine but only with single-line text retrieved from the text edit field.
The problem is the way the text edit field returns multi-line text:
It is the multidimension chars array like this:
Code:
['a','b';'c','d']
it's the value for
Code:
ab
cd
input in the text edit field.

To be able to save multi-line text in the DB I must have one dimension char array which is equal to the:
Code:
sprintf('ab\ncd')
I have no idea how to convert multi-dimensional array to one dimension where after every row is the new line char.