Creating Commands

From Yubnub

Revision as of 23:32, 1 September 2006 by 70.236.202.104 (Talk)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

From Jeremy's picks...

Some YubNub commands are used to create other commands:

  • url returns the URL a <raw>YubNub</raw> command would have redirected you to.
  • % extracts tokens from a string, allowing you to parse your own argument string.
  • filterstring deletes tokens from a string, the opposite of %.
  • ifthen is the type of command that might lead to YubNub becoming Turing complete.
  • random generates random numbers. randwd generates a random word.
  • scrape extracts the bit of text you want from a web page.
  • split, splith, and splitv display several webpages at the same time.
  • date prints a date (today by default) in whatever format you need.
  • delw deletes the specified text wherever it appears.
  • extractdomainname pulls the domain out of a URL.
  • ifempty checks for empty strings.
  • strlength returns the length of a string. (Duh, but what else can I say?)
  • strreplace replaces part of a string with something else.
  • ucase and lcase make text UPPER CASE or lower case, respectively.

See CommandExists

View SiteMap

Personal tools