Chapter 8. Manipulating Strings
IN THIS CHAPTER
- Strings in VBScript
- Working with Substrings
- Concatenating Strings
- Changing Strings
- Formatting Strings
- Converting Other Data Types to String Data
Computer names, group names, usernames, queries—strings are all around us in the world of administrative scripting. Learning to manipulate those strings is a key skill. You’ll find yourself building file paths, working with server names, creating Windows Management Instrumentation (WMI) queries, and much more. In fact, string manipulation is such a fundamental VBScript skill that you’ll need to master it to some degree before you can start writing effective scripts.
Strings in VBScript
As you learned in Chapter 5, “Functions, Objects, Variables, and ...
Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.