Creating Commands

From Yubnub

(Difference between revisions)
(added term/definition structure for commands)
(adjusted page footer)
Line 17: Line 17:
; [http://yubnub.org/kernel/man?args=strreplace strreplace] : replaces part of a string with something else.
; [http://yubnub.org/kernel/man?args=strreplace strreplace] : replaces part of a string with something else.
; [http://yubnub.org/kernel/man?args=ucase ucase] and [http://yubnub.org/kernel/man?args=lcase lcase] : make text UPPER CASE or lower case, respectively.
; [http://yubnub.org/kernel/man?args=ucase ucase] and [http://yubnub.org/kernel/man?args=lcase lcase] : make text UPPER CASE or lower case, respectively.
 +
See [http://yubnub.org/kernel/man?args=CommandExists CommandExists]
See [http://yubnub.org/kernel/man?args=CommandExists CommandExists]
 +
 +
----
View [[SiteMap]]
View [[SiteMap]]

Revision as of 04:00, 2 September 2006

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