<blocksapp="Snap! 7, https://snap.berkeley.edu"version="2"><block-definitions="all but first letter of %'string'"type="reporter"category="operators"><commentw="199"collapsed="false">Takes a text string as input, and reports a new text string containing all but the first character of the input.</comment><header></header><code></code><translations>pt:_ sem o primeiro caractere
ca:_ sense la primera lletra
</translations><inputs><inputtype="%txt"></input></inputs><script><blocks="doIf"><blocks="reportIsA"><blockvar="string"/><l><option>list</option></l></block><script><blocks="doReport"><blocks="reportMap"><blocks="reifyReporter"><autolambda><custom-blocks="all but first letter of %txt"><l></l></custom-block></autolambda><list></list></block><blockvar="string"/></block></block></script></block><blocks="doReport"><blocks="reportJoinWords"><blocks="reportCDR"><blocks="reportTextSplit"><custom-blocks="require nonempty %s %s"><blockvar="string"/><l>All but first of empty word.</l></custom-block><l><option>letter</option></l></block></block></block></block></script></block-definition><block-definitions="all but first word of %'sentence'"type="reporter"category="operators"><commentw="223.000001"collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing all but the first word, with one space between words and no spaces at the beginning or end. (Note: consider using SENTENCE➞LIST and processing the resulting list instead of doing recursion on sentences in text string form. List operations are faster.)</comment><header></header><code></code><translations>pt:_ sem a primeira palavra
ca:_ sense la primera paraula
</translations><inputs><inputtype="%txt"></input></inputs><script><blocks="doIf"><blocks="reportIsA"><blockvar="sentence"/><l><option>list</option></l></block><script><blocks="doIfElse"><blocks="reportListIsEmpty"><blockvar="sentence"/></block><script><custom-blocks="error %txt"><l>All but first of empty sentence.</l></custom-block></script><script><blocks="doReport"><blocks="reportCDR"><blockvar="sentence"/></block></block></script></block></script></block><blocks="doReport"><custom-blocks="list $arrowRight sentence %l"><blocks="reportCDR"><custom-blocks="require nonempty %s %s"><custom-blocks="sentence $arrowRight list %txt"><blockvar="sentence"/></custom-block><l>All but first of empty sentence.</l></custom-block></block></custom-block></block></script></block-definition><block-definitions="all but last letter of %'string'"type="reporter"category="operators"><commentw="218"collapsed="false">Takes a text string as input, and reports a new text string containing all but the last letter of the input.</comment><header></header><code></code><translations>pt:_ sem o último caractere
ca:_ sense la darrera lletra
</translations><inputs><inputtype="%txt"></input></inputs><script><blocks="doIf"><blocks="reportIsA"><blockvar="string"/><l><option>list</option></l></block><script><blocks="doReport"><blocks="reportMap"><blocks="reifyReporter"><autolambda><custom-blocks="all but last letter of %txt"><l></l></custom-block></autolambda><list></list></block><blockvar="string"/></block></block></script></block><blocks="doReport"><blocks="reportJoinWords"><blocks="reportListAttribute"><l><option>reverse</option></l><blocks="reportCDR"><blocks="reportListAttribute"><l><option>reverse</option></l><blocks="reportTextSplit"><custom-blocks="require nonempty %s %s"><blockvar="string"/><l>All but first of empty word.</l></custom-block><l><option>letter</option></l></block></block></block></block></block></block></script></block-definition><block-definitions="all but last word of %'sentence'"type="reporter"category="operators"><commentw="211.99999999999997"collapsed="false">Takes a text string as input, divides it into words treating one or more spaces as a word sepa