Chapter 8. Manipulating Strings
IN THIS CHAPTER
It's a rare script that doesn't involve some sort of string data, such as user names, server names, and so forth. Working with string data is a key requirement. Fortunately, VBScript makes it easy, and almost fun, to perform even the most complex string operations. You'll learn to change strings, pull strings out of the middle of other strings, and much more.
Computer names, group names, user names, 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 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.
|