<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ANSWERED] Using Javascript to split a text string]]></title><description><![CDATA[<p><img src="/assets/uploads/files/1681659178933-screenshot-2023-04-16-at-11.32.32-pm.png" /><img src="/assets/uploads/files/1681659179647-screenshot-2023-04-16-at-11.32.26-pm.png" /><br /></p><p>Hi all,</p>
<p>I'm trying to figure out why my javascript is not working properly.</p>
<p><br />I have a string of text that is "participant name | 012" and I'm trying to use javascript to split the string into<br />1. participant name<br />2. index number<br />using the split function</p>
<p>However, I"m not getting the intended results as shown in the screenshot. I'm either sometimes getting the Name or Index only.</p>
<p>Any help would be greatly appreciated. Thanks!</p>]]></description><link>https://community.troikatronix.com/topic/8390/answered-using-javascript-to-split-a-text-string</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 21:12:13 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/8390.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Apr 2023 15:33:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ANSWERED] Using Javascript to split a text string on Mon, 17 Apr 2023 00:32:29 GMT]]></title><description><![CDATA[<p>Ah thanks all for the pointers and examples :)</p><p>Appreciate this community in my Isadora journey!</p>]]></description><link>https://community.troikatronix.com/post/51353</link><guid isPermaLink="true">https://community.troikatronix.com/post/51353</guid><dc:creator><![CDATA[tingkumajique]]></dc:creator><pubDate>Mon, 17 Apr 2023 00:32:29 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Using Javascript to split a text string on Sun, 16 Apr 2023 23:36:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/4948">@tingkumajique</a></p><p>Hi,</p><p>I put together a demo patch of Javascript text separation and joining options - its available to download from the Add-ons page. But here is one that might be useful: <a href="https://community.troikatronix.com/assets/uploads/files/1681688162469-js-text-separator.zip">js-text-separator.zip</a></p><p>Best Wishes,</p><p>Russell</p><p></p>]]></description><link>https://community.troikatronix.com/post/51352</link><guid isPermaLink="true">https://community.troikatronix.com/post/51352</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Sun, 16 Apr 2023 23:36:32 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Using Javascript to split a text string on Sun, 16 Apr 2023 22:16:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/4948">@tingkumajique</a></p><p>You have to mutate the outputs of the JavaScript actor to Text if you are working with text, you could simply do this by connecting any text input to the output field.<br /></p><p></p>]]></description><link>https://community.troikatronix.com/post/51349</link><guid isPermaLink="true">https://community.troikatronix.com/post/51349</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Sun, 16 Apr 2023 22:16:43 GMT</pubDate></item></channel></rss>