I have an issue the solution to which is probably very simple but I am not able to figure it out :smileylol:
I have a memo field in my form that is populated by a web service. This web service is assigning a string to this memo field. The string contains the characters \r\n, which I assumed Metastorm would display as a new line.
However, as per the screenshot attached, the memo field is literally displaying the text \r\n instead.
I have tried to do a couple of things as a workaround, for example, set the memo field to something like the following:
myMemoField = Mstm.ListItems(System.Text.RegularExpressions.Regex.Split(myStringFromWebService, "\r\n"));
But this did not work. It looks like it is not able to find "\r\n" in the string.
I also tried specifying "\\r\\n" or "\r\r\n\n" as the separator but that did not work either.
However, if I split the string by a normal character (as per the line below), that works:
myMemoField = Mstm.ListItems(System.Text.RegularExpressions.Regex.Split(myStringFromWebService, "a"));
Any ideas how I can make my memo field display the new lines correctly?
Thanks in advance.