GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/JimMartinson/_Archive/CST1861/Lab04/ooga/ |
Upload File : |
@echo off :: strlen.cmd :: Written by: Jim Martinson :: Written on: yyyy/mm/dd setlocal enableextensions :: Display help when the /? parameter is passed. if NOT "%~1"=="/?" goto SkipHelp echo Count the number of characters in a string. echo. echo Usage: %~n0 string echo. echo string = The string used to count characters. echo. goto:EOF :SkipHelp ::strlen Please count how long I am. set _string=%1 :NextArgument shift if "%1"=="" goto:CountLength set _string=%_string% %1 goto:NextArgument :CountLength set #=%_string% set _strlen=0 :NextCharacter if defined # ( set /a _strlen+=1 set #=%#:~1% goto:NextCharacter ) echo The string %_string% is %_strlen% characters long. set _ goto:EOF