Token.sh is a Windows Batch utility that will help you parse tokens from a line of input. The first command-line argument is the input to parse. You must specify the token delimiter as the second argument to this batch file. Then specify which token you want as the third command-line argument. Token.bat will return the token at your specified location. If the specified location is greater than the number of token passed in, then Token.sh will return nothing.
Token.bat takes advantage of the SetNumberOfArguments.bat (GPL) script that is available on this web site. So to use this script, you'll have to download the SetNumberOfArguments.bat batch files, if you don't already have it.
Token.bat is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.
Token.bat "string" "delimiters" num
: Token "this is my world" " " 3
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
28 Users Online
Copyright © 1996 - 2021. All Rights Reserved.