![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
SYNTAX
filterstring (number) [phrase]
DESCRIPTION
Performs opposite %. Removes a word from a string based on the number given. A "-"
before or after the number will remove all words before, or after the corresponding
word as well.
EXAMPLE
filterstring 2 How is the world today? (returns "How the world today?"
filterstring 1 Hello world! (returns "world!")
filterstring 2- gim cars like the porsche (returns "gim")
filterstring -3 How is the world today? (returns "world today?")
Created for piping purposes.
http://www.{filterstring 2- %s}.com/{filterstring 1 %s}
Command makes errors invisible by default.("filterstring" will not return an error) RELATED COMMANDS
\\
slice
!
%
COMMAND BY
Jacob Ensor (magicjj) www.jjefferydesign.com/
Made originally for command "\\" by Jacob Ensor using command "?>" by ChicagoSage.
Special thanks to Jon Aquino for help debugging and cupdating the command description
page.
Thanks to Eliazar for inspiration of expanding the command.