<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Jahooma 2: Insanity]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>A single puzzle of hellish difficulty.</p>
<p><strong>Puzzle 2.1: Error-prone Substring (Extreme)<br />
</strong>Given an input in the form &#8220;start,length,string&#8221; (without quotes) where start and length are nonnegative integers and string is a string not containing any asterisk, output substr(string, start, length). That is, starting from the start-th letter (zero-indexed), take the next length characters. It is guaranteed that start + length is less than or equal to the length of the string.</p>
<p>Boxes:<br />
&#8211; <em>Circular</em> Add asterisk (adds an asterisk in front of the string)<br />
&#8211; <em>Circular</em> Add period (adds an period in front of the string)<br />
&#8211; <em>Circular</em> Add zero (adds a zero in front of the string)<br />
&#8211; <em>Circular</em> Copy (copies the first character of the string to the end of the string)<br />
&#8211; <em>Circular</em> Delete (deletes the first character of the string)<br />
&#8211; <em>Circular</em> Compare (compares the first character and the second character of the string; if they are equal, exit green, otherwise exit red; the input is unchanged)<br />
&#8211; <em>Circular</em> Rotate (moves the first character of the string to the end of the string)<br />
&#8211; <em>Square</em> Rotate (moves the first character of the string to the front of the first asterisk in the original string or to the end of the string if no asterisk is found)<br />
&#8211; <em>Circular</em> Increment (increments the first character of the string (0 -&gt; 1 -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; 7 -&gt; 8 -&gt; 9 -&gt; 0; * -&gt; *; . -&gt; .))<br />
&#8211; <em>Circular</em> Save (copies the first character of the string to the storage stack)<br />
&#8211; <em>Circular</em> Store (moves the first character of the string to the storage stack)<br />
&#8211; <em>Circular</em> Load (moves the topmost character of the storage stack to the front of the string)<br />
&#8211; <em>Circular</em> Is asterisk (implemented from your solution to Puzzle 1.1, replacing period with asterisk)<br />
&#8211; <em>Circular</em> Find asterisk (implemented from your solution to Puzzle 1.2, replacing period with asterisk)<br />
&#8211; <em>Circular</em> Is period (implemented from your solution to Puzzle 1.1)<br />
&#8211; <em>Circular</em> Find period (implemented from your solution to Puzzle 1.2)<br />
&#8211; <em>Square</em> Back rotate (implemented from your solution to Puzzle 1.3)<br />
&#8211; <em>Square</em> Increment Nonnegative Number (implemented from your solution to Puzzle 1.4)</p>
<p>Sample cases:<br />
&#8211; &#8220;1,2,abcd&#8221; -&gt; &#8220;bc&#8221;<br />
&#8211; &#8220;0,1,abcd&#8221; -&gt; &#8220;a&#8221;<br />
&#8211; &#8220;0,0,&#8221; -&gt; &#8220;&#8221;<br />
&#8211; &#8220;3,3,3,3,3,3,3&#8221; -&gt; &#8220;,3,&#8221;<br />
&#8211; &#8220;11,11,the insane chaotic_iak posts another puzzle again&#8221; -&gt; &#8220;chaotic_iak&#8221;</p>
]]></html></oembed>