TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About string
String
is collections of sequence character but the .NET technology it is a class representing a read-only text containing Unicode characters and these Unicode character are used to manipulate its contents. The
String
class is used for related operations such as concatenation, search, comparison, sorting, formatting, copying and displaying text and also used in globalized and localized applications by providing options for applying culture sensitive conventions for string operations wherever applicable.
String
in the .NET Framework considers Null as a character in the string form which results in the string operations executed in the .NET environment but not in the same way as execution in native C/++ code.
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Mahesh Chand (26)
Ziggy Rafiq (4)
Keyur (3)
Uday Dodiya (3)
Richa Garg (2)
Khoday Akilesh (2)
Nipun Tomar (2)
Sardar Mudassar Ali Khan (2)
C# Curator (2)
Rama Mohan (2)
David Mccarter (2)
Akash Kumhar (2)
Harpreet Singh (2)
Chintan Malvaniya (1)
Sarthak Varshney (1)
Hemant Mahajan (1)
Satinder Singh (1)
Srinubabu Ravilla (1)
Abhishek Yadav (1)
Yatendra Sharma (1)
Sai Bagewadi (1)
Praveen Kumar (1)
Jignesh Trivedi (1)
Amr Monjid (1)
Prakash Tripathi (1)
Sivasankar Gorantla (1)
Vijay Kumari (1)
Atul Sharma (1)
Muhammad Aqib Shehzad (1)
Mukesh Kumar (1)
Vishal Yelve (1)
George (1)
Raja Msr (1)
Gurpreet Arora (1)
Arjun Panwar (1)
Rohit Gupta (1)
Abdur Rehman (1)
Ravi Mandal (1)
Raj Bhatt (1)
Mayooran Navamany (1)
Harshal Limaye (1)
Sachchi Prajapati (1)
Naresh Beniwal (1)
Rinki (1)
Ishoo Anyal (1)
Amit Mohanty (1)
Deepak Tewatia (1)
Munesh Sharma (1)
Jignesh Kumar (1)
Chris Love (1)
Vijayakumar S (1)
Yogeshkumar Hadiya (1)
Jin Vincent Necesario (1)
Tarun Agrawal (1)
Manas Mohapatra (1)
Joginder Banger (1)
Muhammad Imran Ansari (1)
Paul (1)
Rohatash Kumar (1)
Related resources for string
No resource found
Dealing with Date and Time in Humanizer in C#
12/1/2023 10:57:45 AM.
Learn how to handle date and time in a user-friendly way in C# projects using Humanizer. Covering DateTime and TimeSpan humanization with customization options and real-world use cases for improved us
Data Types In JavaScript
12/1/2023 5:05:33 AM.
Data types is most important concept in javascript and very useful logic in programming.Best concepts for fresher interview questions.
String Constants in PostgreSQL
12/1/2023 4:49:37 AM.
Delve into PostgreSQL's handling of string constants, which is essential for managing text data. Explore their syntax, handling of special characters, and their versatile use in variable assignmen
Getting Started with Humanizer in C#
11/27/2023 7:59:57 AM.
In this article, we'll explore how to install and use Humanizer in C#, unveiling both its basic and advanced capabilities. By the end, you'll be equipped to elevate the user experience in you
Numeric ("N") Format Specifier In C#
11/20/2023 11:30:31 AM.
In this article I will explain how to use a numeric format specifier in C#.
How to use Power Automate to split a string into an array
11/6/2023 4:26:40 AM.
This article explains how to turn a string into an array using the Power Automate split function.
Java 21: New Features and Examples
11/2/2023 10:48:59 AM.
Java 21 is a major release that includes a number of new features and improvements that make Java more concise, expressive, safe, and performant. Some of the most significant new features include reco
SecureString Class In .Net
10/30/2023 10:52:02 AM.
This article focuses on the very special class in .NET, the SecureString class, and its uses.
6 Effective Ways To Concatenate Strings In C#
10/28/2023 11:56:13 AM.
Code examples of the most effective ways to concatenate strings in C#.
String Interpolation In C#
10/28/2023 11:34:54 AM.
C# string interpolation is used to format and manipulate strings. This feature was introduced in C# 6. Using string interpolation, we can use objects and expressions as a part of the string interpolat
Convert String to JSON using Power Automate Microsoft Flow
10/18/2023 8:51:43 AM.
Learn to convert a string to JSON in Power Apps. Explore two methods: the JSON expression and the Parse JSON Data Operation, followed by reading the JSON data for effective data manipulation.
Convert string to char array in C#
10/13/2023 8:54:49 AM.
How to convert a string to a char array using C#. The ToCharArray method of the string class converts a string to a character array.
Oracle Connection String in C#
10/11/2023 11:50:55 AM.
We will learn connection string format for Oracle data providers in C#.
How To Compare Strings In C#
10/10/2023 10:28:12 AM.
Code examples of compare strings in C# using String.Equals, String.Compare, String.CompareTo() method, and StringComparer.
Extract Part Of A String Array In C#
10/6/2023 11:55:35 AM.
Learn how to get a portion of a string array in C#.In C#, you can extract a portion of a string array using array slicing or LINQ. Here are examples of both methods.
3 Ways to Convert DataTable to JSON String in ASP.NET C#
10/5/2023 6:43:28 AM.
This article explains how to convert a DataTable to JSON in ASP.NET C#. Learn how to serialize a DataTable to a JSON array in C# OR how to return a JSON String from a DataTable in ASP.NET C#.
Get SQL Server Database Connection String Easily From Visual Studio
10/4/2023 6:04:00 AM.
This article explaiins how to easily get a SQL Server database connection string from Visual Studio.
Strings in C# .NET
10/1/2023 1:45:28 PM.
This article provides a brief introduction to Strings in C# .NET.
How To Use Query Strings In ASP.NET
9/25/2023 6:42:41 AM.
In this article, we will learn how to use Query Strings in ASP.NET Websites.
Date Format Specifier In C#
9/24/2023 7:53:18 PM.
In this article I will explain how to use the Date Format Specifier in C#.
Why and How to Override ToString() Method in C#
9/22/2023 11:03:30 AM.
This article shows how to override the ToString() method in C#.
String Interpolation In C#
9/20/2023 6:22:00 AM.
C# String Interpolation concatenates strings. In this article, I'll explain how to implement string Interpolation in C#.
Working With JSON String In C#
9/17/2023 10:40:48 PM.
In this article you will learn how to work with C# JSON string. JSON is a lightweight data interchange format. JSON is language independent, easy to understand and self-describing. C# json parser code
Overriding The System.Object Class Methods
9/15/2023 9:48:55 AM.
In this article you will take a look on the Object class the base class for all data types in the .NET Framework. You will see also how to give your custom type a new look by overriding the Object cla
Comparison of String and StringBuilder in C#
9/12/2023 9:58:01 AM.
This article describes the differences between a String and a StringBuilder in C#, their use cases and performance comparisons.
Why String Is Immutable
9/12/2023 4:49:40 AM.
A string is a reference data type in C#. A string is a sequential collection of characters that is used to represent text. The value of the String object is the content of the sequential collection of
Securing .NET/ASP.NET Core Apps with Azure Key Vault Middleware
9/8/2023 9:28:49 AM.
Securing secrets in a .NET/ASP.NET Core application using Azure Key Vault is crucial for protecting sensitive information like API keys, connection strings, and other configurations. In this example,
How to use Regex in Java
9/5/2023 9:30:45 AM.
This article introduces Java Regular Expressions (Regex) and explores their use in Java. Regex helps define and manipulate string patterns, with examples and methods discussed for practical understand
The Object Class in .NET
9/5/2023 8:34:30 AM.
All the types in .NET are represented as objects and are derived from the Object class.
The Top Seven Least-Known, Yet Important, C# Features
9/5/2023 6:36:38 AM.
In this article, you will learn about some of the top important C# features that are often not very well known.
Oracle Data Provider for .NET : Part III
9/5/2023 5:57:57 AM.
Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features f
Oracle Data Provider for .NET : Part II
9/5/2023 5:55:04 AM.
Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features f
Multilingual Support in ASP.NET Core Web API: Localization & Globalization Example
9/4/2023 5:07:18 AM.
Implementing localization and globalization in an ASP.NET Core Web API involves configuring the application to support multiple languages and cultures, and then using resource files to provide transla
Convert HTML String To PDF Via iTextSharp Library And Send As An Email Attachment
8/29/2023 10:59:53 AM.
In this article, we will see how to convert HTML string to PDF by using third party PDF generation library.
Top C# String Technical Interview Questions
8/29/2023 8:38:19 AM.
This article will demonstrate you, top 10 C# string technical interview questions and their solutions.
String Methods in JavaScript
8/22/2023 5:48:12 AM.
Explore essential JavaScript string methods in this guide. Learn to manipulate, extract, and transform strings using functions like charAt, concat, includes, indexOf, and more. Start mastering JavaScr
How to Get Query String in JavaScript
8/22/2023 5:30:56 AM.
This article will discuss using JavaScript to get Query String from a Web Page.
Convert String into Array in JavaScript
8/21/2023 8:54:50 AM.
Efficiently transform strings into arrays in JavaScript. Explore split() method, custom delimiters, and JSON conversion.
Constant Interpolated Strings in C#
8/18/2023 8:17:34 AM.
Explore interpolated strings in C#, a powerful feature for expressive string formatting. Learn about constant interpolated strings introduced in C# 10, enhancing readability and performance. Understan
Working With a Sub String Index in MySQL
8/7/2023 9:32:09 AM.
In this article we have to explain the substring index and how to return the substring from a string.
Converting Strings to Numbers in C#
8/4/2023 6:59:07 AM.
In this article we learn about how to convert string to numbers in c#
How To Get The Last N Characters Of A String In Python
7/27/2023 6:44:08 AM.
The articles tell you different ways of finding the last N characters from a String in Python.
Connection Strings for All Databases
7/27/2023 4:40:45 AM.
This article shows step by step different ways to get connection strings for all types of databases. The article is written for all type of users, beginners, intermediate, experienced
Defining and Using Connection Strings in Azure Websites
7/19/2023 9:57:31 AM.
In this article you will learn how to define and use Connection Strings in Azure Websites.
Converting Strings in C#: JSON, Base64, XML, CSV and Reverse
7/19/2023 8:10:58 AM.
Article on converting String to JSON, Base64, XML and CSV and Reverse using C#
Understanding JSON Parsing and JSON Stringifying
7/14/2023 11:56:42 AM.
Understanding JSON Parsing and JSON Stringifying
How To Format Strings In C#
7/13/2023 7:05:46 AM.
C# String Format method formats and converts an object into a string. Learn how to use String.Format() method to format strings in C#.
How to work with the MongoDB in VS-Code?
7/7/2023 5:18:25 AM.
How to work with the MongoDB in VS-Code
Real World Coding Issues: Part I
6/29/2023 9:08:43 AM.
I hope you read all the articles in this series so you too can improve the performance and memory issues along with the common code issues that I see in the projects where I work. Most of the code sam
Reverse A String In JavaScript
6/27/2023 6:37:41 AM.
How to reverse a string in JavaScript is one of the most frequently asked interview questions. There could be dozens of ways we could reverse a string. However, in this article, we'll learn three
Parse JSON String in C#
6/7/2023 4:41:05 AM.
Code example of how to parse a JSON string in C#
Convert string to JSON in C#
6/6/2023 4:40:06 AM.
Code example of how to convert string to JSON in C#
Convert a JSON object into a string in C#
6/3/2023 4:32:06 PM.
Code example of how to convert an object into a JSON string in C#.
How to Create A JSON String In C#?
6/3/2023 2:56:06 AM.
How to create JSON object in C#
How To Fix "Input Source Is Not Correctly Formatted" Error During Lookup Field Value Comparison With String
6/1/2023 11:11:08 AM.
We encounter such kind of error in many different scenarios and in different programming languages as well. In this article we will see how and when this error appears using SharePoint 2013 designer w
Raw String Literals - New Feature In C#11 With .NET 7
5/9/2023 5:20:45 AM.
Microsoft released .NET 7 on 14th November 2022 with C#11. We will look at string literals features of C#11 in this article.
String Operations in Rust: A Beginner's Guide
5/8/2023 5:10:04 AM.
In this article we learn about how to perform string operations in Rust, including reading, manipulating, and transforming strings, through a variety of examples
Check If String Contains Substring In JavaScript
5/5/2023 11:58:17 AM.
In this article, learn how to search string or substring in JQuery or JavaScript. JQuery Substring or JavaScript Subscript code example.
How to Initialize String Array With Default Values In C#
5/4/2023 6:32:49 AM.
In this article, you will learn about How to initialize string array with default values in C#
Globalizing Strings in Microsoft .NET with the Multilingual App Toolkit
5/2/2023 8:56:22 AM.
In this article, I will demonstrate how to do this and introduce you to the Multilingual App Toolkit, which makes string translation fast and cost-effective. It was so simple that I only needed a few
Strings In Rust
4/27/2023 7:19:18 PM.
In this article, we discuss what is a string in Rust, the type of string in Rust, and how to use them.
Substring in C#
4/24/2023 2:09:10 PM.
Learn how to get a C# Substring from a string using String.Substring method in C#.
Secure Resources Using Azure Managed Identities
4/19/2023 6:42:27 AM.
In this article, we will learn how to secure resources on azure platform without using any type of security key of connection string.
Using C# 12's Interpolated Strings For More Concise And Readable Code
4/19/2023 5:51:01 AM.
Using C# 12's Interpolated Strings for More Concise and Readable Code
How to remove duplicate words from string in C#
4/15/2023 4:04:48 AM.
This article covers all possible methods of removing duplicate words from string in C# with code examples and explanations.
How to Use GUIDs in C#?
4/15/2023 3:56:47 AM.
we are looking at GUIDs (Globally Unique Identifiers), which are widely used in C# for generating unique identifiers for objects, entities, and resources in a system. In this post, we'll explore t
How To Truncate String In C#
4/12/2023 9:44:03 AM.
In this article, you will learn how to truncate string in c#.
Find the Longest Common Prefix in C#
4/12/2023 8:54:25 AM.
In this article, we will see the longest common prefix in C#
How To Split A String Using Backslash As Delimiter In C# With Code Examples
4/10/2023 10:17:27 AM.
Ziggy Rafiq article post on How to Split a String using Backslash as Delimiter in C# with Code Examples
Count Number Of Character Occurrences In A String Using JavaScript
4/4/2023 5:10:41 AM.
In this article, I am going to demonstrate various way to count number of character occurrences in a string javascript
The Ultimate Guide to Converting Strings to Numbers in JavaScript
3/22/2023 1:15:13 AM.
Looking to convert strings to numbers in JavaScript? Our comprehensive guide covers various methods, including type coercion, parseInt, and more! Perfect for software developers.
Basics of JavaScript: Part 5 (String Functions)
3/20/2023 11:50:40 AM.
This article explains the various string functions available in JavaScript.
Basics of JavaScript: Part 4
3/20/2023 7:06:54 AM.
In this article we will learn how to work with strings and numbers.
String Objects in JavaScript
3/17/2023 5:19:26 AM.
In this article, you will learn about String Object in JavaScript.
Compare Comma Seperated Values in SQL
3/9/2023 11:22:41 AM.
In this article, we will see how we can compare the comma-separated values with existing values stored in the table. Values can be in a different order from the user or table. We have to first order i
SQL's STRING_AGG Function
3/6/2023 9:06:32 AM.
The STRING_AGG function arranges all expression and then puts it together in these rows' expressions to obtain a single string, separated by a specified separator.
Convert PHP Array to String
3/2/2023 4:54:47 AM.
This code explains how to convert an array into a string in PHP.
String To DateTime Conversion In C#
2/27/2023 10:49:45 AM.
C# convert string to datetime. Learn how to convert a string to datetime in C#. There are several common methods including Convert.ToDateTime, DateTime.Parse, and DateTime.ParseExact to convert a stri
How to Generate a Random Number and Random String in C#?
2/21/2023 4:36:55 PM.
The Random.Next() method returns a random number in C#. The code examples show how to generate a random string and random number in C#.
How do I Convert a String to an Enum Value?
2/21/2023 2:28:34 PM.
In this How do I, you will learn how to convert a string to an enum value in C#.
Convert an Enum to a String in C#
2/21/2023 12:24:48 PM.
This code example shows how to convert an enum to a string in C#.
Convert char array to string in C#
2/21/2023 12:22:11 PM.
How to Convert char array to string using C#. The string class constructor takes an array of characters to create a new string from an array of characters.
How to Convert String To Byte Array in C#
2/21/2023 12:17:55 PM.
The Encoding.GetBytes() method converts a string into a byte array in C#. This article includes a code example of how to convert a C# string into a byte array.
Get a Character, Numeric or Special Character String Value in SQL Server
2/13/2023 6:42:18 AM.
In this article, you will learn how to get a character, numeric, or special character string value in an SQL server.
C# StringBuilder Tutorial With Code Examples
2/10/2023 4:44:45 AM.
C# StringBuilder is useful for concatenating multiple strings. The code examples demonstrate how to use a StringBuilder in C#.
How To Use A String Collection in C#
2/9/2023 3:28:46 PM.
StringCollection is a collection of strings. In this article, learn how to take advantages of StringCollection methods and properties to manage a collection of strings. StringCollection class
How To Convert a List to a String in C#
2/9/2023 9:23:39 AM.
This article for beginners who want to learn, how to convert list of strings into a single string.
Select Random String From An Array In .NET Core and C#
2/9/2023 8:15:08 AM.
This article demonstrates how to pick a random string an array of strings.
Convert Byte Array To String In C#
2/9/2023 8:10:49 AM.
Learn to convert a C# byte array to a string in C# and .NET Core. Code example included.
Padding Strings In C#
2/9/2023 7:48:39 AM.
This code snippet shows how to pad strings in C# and .net core. Padding in the string is adding a space or other character at the beginning or end of a string. String class has String.PadLeft() and St
Add, Remove, Replace String In C#
2/9/2023 7:17:36 AM.
Code examples to add strings in C#, remove string in C#, and replace string in C#.
Uppercase and Lowercase Strings in C#
2/9/2023 7:08:26 AM.
C# String has ToUpper() and ToLower() methods to convert a string to uppercase and lowercase. This sample code demonstrates how to convert a string into lowercase string or uppercase string in C#.
StringBuilder and String Concatenation
2/9/2023 6:48:35 AM.
C# String Builder represented by the StringBuilder class in c# is used to concatenate strings in C# and provides string modifications methods including StringBuilder.Append(), StringBuilder.Remove(),
Trim String in C#
2/9/2023 6:23:48 AM.
String.Trim(), String.TrimStart(), and String.TrimEnd() methods provide trim string functionality in C# and .NET. The Trim method removes white spaces from the beginning and endof a string. The TrimE
Split String In C#
2/9/2023 4:33:44 AM.
Learn how to split a string in C#. A string can be splitted in C# separated by a character delimiter, string delimiter, and an array of characters.
How To Replace Characters In A C# String
2/8/2023 4:12:14 AM.
In this article, you will learn how to replace a substring in a C# string.
Regular Expressions In .NET
2/7/2023 2:41:41 PM.
Regular Expressions in .NET are implemented using the C# Regex class. Learn here how Regex in .NET works.
Best Algorithm For Encrypting And Decrypting A String In C#
1/31/2023 8:51:53 AM.
In this article, we learn about how to encrypt and Decrypt a String in C#.
Adding a Number in String in SQL Server
1/24/2023 6:33:53 AM.
In this article, I provide a quick overview of how to add a number in a string in SQL Server.
Connection Strings for SQL Server Compact Edition
1/10/2023 3:17:21 PM.
SQL Server Compact Edition (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops.