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:
it's the value forCode:['a','b';'c','d']
input in the text edit field.Code:ab cd
To be able to save multi-line text in the DB I must have one dimension char array which is equal to the:
I have no idea how to convert multi-dimensional array to one dimension where after every row is the new line char.Code:sprintf('ab\ncd')


LinkBack URL
About LinkBacks