‘================================================================= ‘ NAME: StringFunctions1.vbs ‘ Authors: Neal Walters ‘ http://VBScript-Training.com ‘================================================================= text1 = “We the people of the United States, in order to form the a more perfect union…” ‘ 1…5…10….5…20.. WScript.Echo “Text1=” & text1 WScript.Echo “Length=” & Len(text1) WScript.Echo “Left(text1,2)=” & Left(text1,2) WScript.Echo “Right(text1,8)=” & Right(text1,8) WScript.Echo “Mid(text1,8,6)=” & Mid(text1,8,6) WScript.Echo “InStr(text1,”"United”")=” & InStr(text1,”United”) [...]
Read More...- Subscribe via RSS
Pages
Categories
Blogroll
Tags
Add Folder browser Collections delete Dictionary Object Disk Drives Drives Enumerate Excel Explode File File I/O Files FileSystemObject Folder Folders FSO Hardware HTML HTTP Post I/O Input List MS-Excel Name/Value Pairs Output Prompt Read ReadAll ReadLine Recursion Recursive RegEx Regular Expressions remove Scripting.Dictionary Scripting.FileSystemObject Show spreadsheet User Input Web Write WriteLine Write to File XML