Shared Top Border
  
 
 

Welcome to cmdLine:// Plus!

DOWNLOAD NOW!

Shared Left Border

Home
Version History
Help and Examples
Contact Us

 

Make a point to bookmark this page!  Many features are planned for addition to both Plus! and PRO versions.  Feel free to make suggestions to the Suggestion Mailbox

 
 

Did you know about cmdLine: PRO?

Included with your copy of cmdLine:// Plus! is another program called cmdLine: PRO.  PRO is the best utility for those of you who write scripts or batch files!  Almost all of the commands that are available with Plus! are available with PRO.  PRO also includes a special option to output the results as a SET command to facilitate the setting of local environment variables.  A typical use is renaming or setting a filename to include the current date.  Now, with PRO, you can do this with two lines.

The first line is redirecting the output of CLP.exe to a .bat file, which will contain the
SET varname=value command.

The second line is calling the .bat file to set the variable.

Its that simple!

You'll find the program (CLP.EXE) in the application's program directory


Help and Examples

 
Help on commands:
math:// | date:// | time:// | text:// | text://regex... | reg:// | props://
 

 

text://

Usage:

text://<cmd>(<text>);<opt1>;<opt2>

Where <cmd> is a special text command,

<text> is a string of characters,

<opt1>,<opt2> are formatting options specific to each   command


Examples and explanations:

  • text://length(<text>)
      returns the number of characters in <text>

  • text://countof(<text>);<opt1>
      returns the number of occurrences of <opt1> in <text>

  • text://startswith(<text>);<opt1>
      returns True or False based on whether <text> starts with <opt1>

  • text://endswith(<text>);<opt1>
      returns True or False based on whether <text> ends with <opt1>

  • text://split(<text>);<opt1>;<opt2>
      returns the text in position <opt2> where the <text> is split into parts at every
      occurrence of <opt1>
      Example:  text://split(This-is-a-test);-;2  will return ‘is’

  • text://pcase(<text>)
      returns <text> where the first letter of each word is now Capitalized

  • text://lcase(<text>)
      returns <text> where every character is converted to its lowercase equivalent

  • text://ucase(<text>)
      returns <text> where every character is converted to its uppercase equivalent

  • text://tohex(<text>)[;<opt1>]
      returns a string of Hex characters where each character in <text> is converted to
      its Hex equivalent; if <opt1> is supplied, each Hex value is separated by <opt1>

  • text://fromhex(<text>)[;<opt1>]
      returns a string of characters, converting each Hex value to its equivalent ASCII
      character;  if <opt1> is supplied, this informs fromhex that <opt1> is
      the delimiting character(s) between each hex value

  • text://ascii(<text>)
      returns a number that is the ASCII value for the first character in <text>

  • text://char(<number>)
      returns the character associated with the value of <number>
      <number> is a number between 0 and 255

  • text://contains(<text>);<opt1>
      returns True or False depending on the result of <opt1> being present within <text>

  • text://charpos(<text>);<opt1>
      returns the first character position where <opt1> occurs within <text>

  • text://revcharpos(<text>);<opt1>
      returns the last character position where <opt1> occurs within <text>

  • text://left(<text>);<opt1>
      returns <opt1> characters from the beginning of <text>

  • text://right(<text>);<opt1>
      returns <opt1> characters from the end of <text>

  • text://substring(<text>);<opt1>;<opt2>
      returns <opt2> characters from <text> starting at <opt1> within <text>

  • text://replace(<text>);<opt1>;<opt2>
      replaces each occurrence of <opt1> in <text> with <opt2>

  • text://reverse(<text>)
      returns a string of characters that are the result of reversing the order of the
      characters in <text>

  • text://padleft(<text>);<opt1>[;<opt2>]
      returns <text> plus <opt1> characters in front of <text>
      if <opt2> is supplied, <opt2> is what is place in front of  <text>, otherwise a
      space is used

  • text://padright(<text>);<opt1>[;<opt2>]
      returns <text> plus <opt1> characters appended to <text>
      if <opt2> is supplied, <opt2> is what is placed at the end of <text>, otherwise
      a space is used

  • text://insert(<text>);<opt1>;<opt2>
      inserts <opt2> into <text> at character position <opt1>

  • text://remove(<text>);<opt1>;<opt2>
      removes <opt2> characters from <text> starting at character position <opt1>


Shared Bottom Border
  Part of the iQueue Systems, Inc. family.  

 
iQueue Systems, Inc.  All rights reserved.  ©2003  No portion of this site may be re-produced for any purpose without prior written permission.
Contact webmaster@iqsweb.com for more information