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 - Visual Basic Tutorial
From the course: Visual Basic Essential Training
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
-
-
-
-
-
-
-
-
-
(Locked)
Understanding strings6m 41s
-
(Locked)
Create string variables4m
-
(Locked)
Concatenation and interpolation2m 56s
-
(Locked)
Search string contents2m 59s
-
(Locked)
Modify string contents3m 3s
-
(Locked)
String creation with StringBuilder5m 39s
-
(Locked)
Compare and equals5m 51s
-
(Locked)
Convert and format numbers to strings8m 4s
-
(Locked)
Implicit covert strings to numbers2m 50s
-
(Locked)
Use Parse and TryParse conversions5m 4s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-