PREVIEW ENVIRONMENT - This is not the production database. Changes will NOT be saved.

ParserFunctionTest

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search

Testing parser functions on IPFS URI:[unverified]

URI: ipfs://bafybeiavz2kvaf4rfv7q46hxse4fk2tcqpzm4mgr67jbdqa2wpdarcie5y[unverified]

Basic parser functions

  • #if test: [unverified]
  • #ifeq test: [unverified]
  • #switch test: [unverified]

String functions

  • #sub test: hello|0|2[unverified]
  • #len test: 5[unverified]
  • #pos test: [unverified]
  • #replace test: hello|l|L[unverified]

Workaround: Using #pos to detect ipfs

pos of "ipfs" in URI: [unverified]

{{{1}}}[unverified]

Maybe use #expr?

  1. expr 1+1: 2[unverified]