This variant uses the new splitregexp operator to eliminate the last character:
\define ViewTiddlerAppended() <$set name=shortpath filter="[{$(viewpath)$}splitregexp[^(.*?).$]]" select=1 > <<shortpath>>. Nice to see you. </$set> \end <$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/map" > <<ViewTiddlerAppended>> </$vars> On Sunday, August 18, 2019 at 11:49:19 AM UTC-7, MagoArcade wrote: > > Let's say "$:/plugins/felixhayashi/tiddlymap/graph/views/map" contains > the text "{line 1} Hello World}" (note the curly bracket) > > > \define ViewPath() > $:/plugins/felixhayashi/tiddlymap/graph/views/map > \end > > > \define ViewTiddlerAppended() > {{$(ViewPath)$}}. Nice to see you. > \end > > How do I get <<ViewTiddlerAppended>> to read: > > "{line 1} Hello World. Nice to see you." > > (i.e. remove the last character of the text in the tiddler) > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/077430e0-7426-4fc6-aeaa-351357aaad65%40googlegroups.com.