From the course: Visual Basic Essential Training

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

Understanding strings

Understanding strings

- [Instructor] In any software application handling text is an essential task, whether it's displaying messages to users, reading input, or processing data. Text plays a central role in how applications interact with people and other systems. Every programming language and framework provides tools to work with text sufficiently. In visual basic .NET, strings are much more than just texts. They are objects with a wide range of methods and properties to make working with texts seamless. From simple operations like joining or splitting strings to more complex tasks like searching, comparing, and formatting, the framework offers robust functionality. Strings are immutable, which means once created, their values cannot be changed. This design ensures reliability and consistency, but also introduces some considerations for performance, which we'll discuss later. At first glance, immutable strings and constant may seem alike since both suggest a sense of unchangeability, but they serve very…

Contents