Topics

Csharp String

About this topic: Articles tagged __TAG__

Showing 62 articles

Topics

Articles

Showing 62 articles

How-tos How to Reverse a String in C# Learn how to reverse a string in C How-tos How to Check if a String Is Null or Empty in C# Learn how to check if a string is null or empty in C How-tos String Tokenizer in C# Learn how to effectively tokenize strings in C How-tos How to Remove HTML Tags From a String in C# In this article, we explore effective methods to remove HTML tags from a string in C How-tos How to Convert String to JSON Object in C# Learn how to convert a string to a JSON object in C How-tos How to Find Substring in a String in C# Learn how to find a substring in a string using C How-tos How to Read a File to String in C# Learn how to read a file to a string in C How-tos C# Capitalize First Letter This tutorial teaches how to capitalize the first letter of a string in C How-tos How to Split String by String in C# This tutorial teaches how to split a string by using another string in C How-tos How to Find Leftmost String in C# Discover how to find the leftmost string in C How-tos How to Convert String to Datetime in C# Learn how to convert a string to a DateTime in C How-tos How to Convert Char Array to Strings in C# This article will discuss how to convert char arrays to strings in C How-tos How to Convert a String to a Byte Array in C# Learn how to convert a string to a byte array in C How-tos How to Use Strings in Switch Statement in C# This article introduces how to use strings in switch statements in C How-tos How to Remove Quotes From String in C# Learn how to effectively remove quotes from strings in C How-tos How to Write a Multiline String Literal in C# This article explores how to write multiline string literals in C How-tos How to Remove a Character From a String in C# There are 4 main methods that can be used to remove a character from a string in C#, the string.Replace() function, the string.Join() and string.Split() functions, the … How-tos How to Add Newline to String in C# There are 2 main methods that can be used to add a new line to a string in C#, the escape character, and the Environment.NewLine property. How-tos How to Convert List<string> to String in C# There are 3 main methods that can be used to convert a List to a string variable in C#, the LINQ Aggregate method, the String.Join() function and StringBuilder class. How-tos Enum Strings in C# There are 3 main methods that can be used to create an enumeration of strings in C#, the extension function, the constant variables method, and the ToString() function. How-tos Case Insensitive Contains String Function in C# There are two main methods that can be used to create a case insensitive contains (string) function in C#: the CultureInfo.IndexOf() function and the string.IndexOf() function. How-tos How to Split String to List in C# This tutorial discusses different methods for splitting a string into a list of strings in C#, discussing how each method works and its use cases. How-tos How to Encrypt and Decrypt a String in C# The AesManaged class can be used to encrypt and decrypt a string in C#. How-tos How to Encode and Decode a Base64 String in C# The Convert class can be used to encode a standard string to a base64 string and decode a base64 string to a standard string in C#.

← All topics