Visual Basic 2008 Recipes: A Problem-Solution Approach
by Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan
Chapter 2. Data Manipulation
Most applications need to manipulate some form of data. The Microsoft .NET Framework provides many techniques that simplify or improve the efficiency of common data-manipulation tasks. The recipes in this chapter cover the following:
Manipulating the contents of strings efficiently to avoid the overhead of automatic string creation due to the immutability of strings (recipe 2-1)
Representing basic data types using different encoding schemes or as byte arrays to allow you to share data with external systems (recipes 2-2, 2-3, and 2-4)
Validating user input and manipulating string values using regular expressions (recipes 2-5 and 2-6)
Creating System.DateTime or System.DateTimeOffset objects from string values, such as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access