In this programming tutorial, we will learn how to work with strings in C#. I'll teach you how to use strings, how to compare two strings, how to search for a word in the text and much more. We will also learn the most important methods for working with strings in C# and I will share tips and tricks for working with strings. This is one of the main concepts of every programming language so you absolutely have to understand it.
Enjoy the video and leave your questions in the comment section.
If you want to gain more practical experience in building real apps and get career-ready skills, join my Practical Programming Course below.
๐๐๐ป๐ฅ My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
๐ฐ Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
CONTENTS:
00:26 - How to compare two strings using operators
02:34 - Where to learn programming
03:33 - Compare strings using Equals method
06:53 - How to convert string to uppercase or lowercase
08:59 - How to convert a number to a string using ToString method
10:15 - Difference between number and string datatypes
12:18 - How to search for specific terms using Contains method
14:10 - How to search for specific terms using IndexOf method
16:08 - How to get a substring using Substring method
18:20 - How to check the starting string using StartsWith method
19:02 - How to check the ending string using EndsWith method
19:25 - How to replace part of the string using Replace method
20:35 - How to remove whitespace using Trim method
22:50 - How to split a string using Split method