Creating Commands

From Yubnub

(Difference between revisions)
(adjusted page footer)
Line 1: Line 1:
-
From [http://www.yubnub.org/documentation/jeremys_picks Jeremy's picks]...
+
Some YubNub commands are useful for [http://www.yubnub.org/parser/parse?command=create creating] other commands:
-
Some YubNub commands are used to [http://www.yubnub.org/parser/parse?command=create create] other commands:
+
----
-
; [http://yubnub.org/kernel/man?args=url url] : returns the URL a <raw>YubNub</raw> command would have redirected you to.
+
 
-
; [http://yubnub.org/kernel/man?args=% %] : extracts tokens from a string, allowing you to parse your own argument string.
+
 
-
; [http://yubnub.org/kernel/man?args=filterstring filterstring] : deletes tokens from a string, the opposite of %.
+
;[[String Manipulation]]: These commands modify strings in various ways, or return information about strings.
 +
 
 +
; [http://yubnub.org/kernel/man?args=url url] : returns the URL a YubNub command would have redirected you to.
; [http://yubnub.org/kernel/man?args=ifthen ifthen] : is the type of command that might lead to YubNub becoming Turing complete.
; [http://yubnub.org/kernel/man?args=ifthen ifthen] : is the type of command that might lead to YubNub becoming Turing complete.
; [http://yubnub.org/kernel/man?args=random random] : generates random numbers.  
; [http://yubnub.org/kernel/man?args=random random] : generates random numbers.  
Line 14: Line 16:
; [http://yubnub.org/kernel/man?args=extractdomainname extractdomainname] : pulls the domain out of a URL.
; [http://yubnub.org/kernel/man?args=extractdomainname extractdomainname] : pulls the domain out of a URL.
; [http://yubnub.org/kernel/man?args=ifempty ifempty] : checks for empty strings.
; [http://yubnub.org/kernel/man?args=ifempty ifempty] : checks for empty strings.
-
; [http://yubnub.org/kernel/man?args=strlength strlength] : returns the length of a string. (Duh, but what else can I say?)
 
-
; [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.
 

Revision as of 19:46, 2 September 2006

Some YubNub commands are useful for creating other commands:



String Manipulation
These commands modify strings in various ways, or return information about strings.
url 
returns the URL a YubNub command would have redirected you to.
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.


See CommandExists


View SiteMap

Personal tools