© Robert E. Beasley 2020
R. E. BeasleyEssential ASP.NET Web Forms Developmenthttps://doi.org/10.1007/978-1-4842-5784-5_9

9. String Operations

Robert E. Beasley1 
(1)
Franklin, IN, USA
 

9.1 Introduction

A string operation is a process that is performed on a String object. A String object is a String type that has been instantiated from the String class—usually when a string literal is assigned to it. As an example, consider the following String object declaration:
String strLastName = "Jones";

In this example, the newly instantiated String object is strLastName. Once this String object is instantiated, we can use its methods to manipulate the string.

In this chapter, we will begin by looking at concatenations. Concatenations join two or more separate items ...

Get Essential ASP.NET Web Forms Development: Full Stack Programming with C#, SQL, Ajax, and JavaScript 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.