﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » add a line break to a string variable in the value element</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 16 Sep 2026 14:36:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: add a line break to a string variable in the value element</title><link>https://forums.millisecond.com/Topic6577.aspx</link><description>&lt;p&gt;Many thanks!&lt;/p&gt;</description><pubDate>Tue, 06 Sep 2011 05:28:38 GMT</pubDate><dc:creator>halkjelsvik</dc:creator></item><item><title>RE: add a line break to a string variable in the value element</title><link>https://forums.millisecond.com/Topic6576.aspx</link><description>&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;values&amp;gt;&lt;br /&gt;/ responsestring = ""&lt;br /&gt;/ newline = "~n"&lt;br /&gt;&amp;lt;/values&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;openended enterword&amp;gt;&lt;br /&gt;/ stimulusframes = [1=myresponses]&lt;br /&gt;/ ontrialend = [values.responsestring=concat(concat(values.responsestring,values.newline),openended.enterword.response)]&lt;br /&gt;&amp;lt;/openended&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;text myresponses&amp;gt;&lt;br /&gt;/ items = ("&amp;lt;%values.responsestring%&amp;gt;")&lt;br /&gt;/ position = (50%,10%)&lt;br /&gt;/ size = (50%,20%)&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;block myblock&amp;gt;&lt;br /&gt;/ trials = [1-3=enterword]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 06 Sep 2011 05:13:03 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>add a line break to a string variable in the value element</title><link>https://forums.millisecond.com/Topic6575.aspx</link><description>&lt;p&gt;I try to add line breaks to a series of strings given by the particpants.&lt;/p&gt;
&lt;p&gt;This actually does what I want:&lt;/p&gt;
&lt;p&gt;/ ontrialend = [values.responsestring=concat(concat(values.responsestring,"(~n) -"),openended.enterword.response)]&lt;/p&gt;
&lt;p&gt;however I do not want the paranthesis in the values variable. If I remove the paranthesis, inquisit tells me that there is an unmatched parathesis.&lt;/p&gt;</description><pubDate>Tue, 06 Sep 2011 04:59:20 GMT</pubDate><dc:creator>halkjelsvik</dc:creator></item></channel></rss>