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.
Related resources for string
  • Database Connectivity in Visual Studio 5/3/2024 9:16:16 AM. Visual Studio facilitates robust database connectivity through technologies like ADO.NET and Entity Framework. Developers can seamlessly integrate with SQL Server, MySQL, Oracle, and more using connec
  • How to Modify String in C# .NET5/3/2024 5:26:13 AM. This article demonstrates several techniques to produce a string by modifying an existing string. You can examine the original string and the new, modified string when you run each example.
  • Exploring String Searching Techniques in C#5/2/2024 6:46:03 AM. Searching for substrings within strings is a fundamental operation in software development, and in the context of C# programming, there are several techniques and methods available to accomplish this
  • Why Strings Are Immutable in .Net5/1/2024 11:05:35 AM. Explore the concept of immutable strings in .NET, understanding how strings are allocated in memory, and why they are immutable. Learn how immutability enhances memory management, prevents race condit
  • Palindrome in C# GUI4/30/2024 9:49:48 AM. Create a C# GUI application to check if a user-entered string is a palindrome. Implement a Windows Forms interface with a textbox for input and a button to trigger palindrome verification.
  • Exploring Anagram Strings in C#4/26/2024 4:21:20 AM. An anagram of a string is another string that uses the same characters but in a different order. This article delves into solving anagrams using C#, exploring methods like sorting characters, frequenc
  • Improve Performance of .NET Application4/24/2024 7:42:39 AM. Enhance .NET application performance through techniques like code profiling, caching, asynchronous programming, and database query optimization. Implementing these strategies boosts efficiency and res
  • Concurrent Dictionary for String Comparison in .NET Core4/20/2024 7:04:27 AM. In .NET Core, the `ConcurrentDictionary<TKey, TValue>` class provides a thread-safe collection for storing key-value pairs, making it suitable for concurrent operations in multi-threaded environ
  • Comparing Strings with Globalization and Performance in .NET4/15/2024 11:44:26 AM. Efficiently compare strings in .NET considering globalization for culture-aware operations. Optimize performance by selecting appropriate StringComparison and CultureInfo options, ensuring accurate an
  • SQL Server System Functions: Aggregate, String, Math, Date4/15/2024 11:17:36 AM. Learn about SQL Server system functions including aggregate, string, mathematical, and date time functions. Explore their syntax and examples for efficient database operations. Ideal for beginners an
  • How To Encrypt And Decrypt In C# Using Simple AES Keys4/12/2024 11:29:58 AM. Learn how to encrypt and decrypt data in C# using simple AES keys. AES, a symmetric encryption algorithm, ensures secure communication by encoding and decoding messages.
  • Understanding C# Data Types4/8/2024 11:24:28 AM. Understanding C# Data Types is essential for programming in C#. It involves grasping primitive types like integers, floating-point numbers, booleans, and characters, as well as complex types like stri
  • How To Get Localized Number Format Based On Country Using Angular 84/8/2024 9:17:00 AM. I have seen many users get confused about how different countries use different formats to display number format according to their country code. Most of the countries use "dot notation" as
  • Multilingual Application with single Resx file - Forms Validation Strings4/1/2024 9:37:01 AM. Learn how to create multilingual applications using ASP.NET 8 in this third part of our series. Explore efficient techniques for managing form validation strings using a single Resx file, ensuring sea
  • String vs StringBuilder in C# with Example3/29/2024 10:53:45 AM. In this article, we have explained the difference between String and StringBuilder in C# with example. Know the basic knowledge of String and StringBuilder in C#.
  • String Handling Functions implementation in C Language3/29/2024 4:24:17 AM. In C programming, strings are fundamental for working with textual data. Unlike some other languages, C handles strings using character arrays with a null terminator.
  • How To Get Started With Always Encrypted For Beginners - Part Two3/28/2024 6:26:09 AM. In this post we will pick up where we left off in Part 1, if you haven’t read that please go back and do so. Now that we have encrypted our columns, it’s time to take a look at how we decrypt them ins
  • Convert Attachment to Base64 in Power Apps for Email Attachments3/27/2024 8:05:57 AM. Convert attachment files into Base64 strings in Power Apps. Use Power Automate to trigger email creation, dynamically attaching the Base64-encoded files. Streamline workflow, automating attachment han
  • Converting Strings in C#: JSON, Base64, XML, CSV and Reverse3/22/2024 10:15:42 AM. Discover Ziggy Rafiq's comprehensive guide on converting strings to JSON, Base64, XML, and CSV formats using C#. Plus, learn how to reverse the process effortlessly. Don't miss out on this mus
  • Code First Migrations In Entity Framework Step By Step3/21/2024 7:25:30 AM. Learn how to define model classes, configure database mappings, set up connection strings, and utilize Package Manager Console commands to manage migrations efficiently in your ASP.NET application.
  • How to Use GUIDs in C#?3/20/2024 4:42:11 PM. We are discussing GUIDs (Globally Unique Identifiers) which are commonly used in C# to create unique identifiers for objects, entities, and resources in a system. In this article, Ziggy Rafiq will tak
  • How To Split A String Using Backslash As Delimiter In C# With Code Examples3/20/2024 4:16:50 PM. Learn how to easily split a string in C# using a backslash delimiter with code examples, courtesy of Ziggy Rafiq's informative article. Master this essential skill today!
  • How To Truncate String In C#3/20/2024 4:15:20 PM. If you're looking to learn how to truncate a string in C#, then you've come to the right place. This article will provide you with the necessary information to accomplish this task efficiently
  • Handling JSON in C#3/16/2024 11:01:45 AM. C# provides seamless JSON handling with System.Text.Json. Easily parse JSON strings into C# objects and vice versa for efficient data manipulation.
  • Reverse String Filter in Vue.js 3/6/2024 10:44:06 AM. To reverse a string in Vue.js, create a custom filter that reverses the characters. Define the filter, register it globally, and apply it in Vue component templates for efficient string reversal.
  • How to Extract Initials from a String in Vue.js3/6/2024 7:16:41 AM. To extract initials from a string in Vue.js, you can create a custom filter or method. Define a filter or method to process the string and return the initials, providing flexibility in implementation.
  • Fundamentals of Unit Testing: Test Your Application by Visual Studio Unit Test3/5/2024 10:33:54 AM. This article is part of the "Fundamentals of Unit Testing" series, focusing on practical implementation in the Visual Studio environment. It covers steps such as creating a class library app
  • How Can We Get Last Characters Of A String In Java?2/29/2024 5:07:53 AM. In this article, we will learn about String in Java Programming Language with examples. Explore the intricacies of Java strings, covering their creation using literals or the "new" keyword.
  • Template Literals In JavaScript2/27/2024 4:27:38 AM. JavaScript template literals are an effective tool for working with and creating strings. They were first included in ECMAScript 6 (ES6).
  • ASP.NET State Management2/18/2024 5:38:25 AM. State management in ASP.NET is vital for maintaining application state across requests. It's a common topic in interviews, catering to both novices and seasoned developers. ASP.NET offers various
  • String.IsNullOrEmpty() vs String.IsNullOrWhiteSpace()2/13/2024 10:56:35 AM. Learn when to use String.IsNullOrEmpty() and String.IsNullOrWhiteSpace() in C#. Understand their differences for effective null and whitespace checks, enhancing data validation and code reliability.
  • NULL Conditional Operator In C# 6.02/7/2024 11:41:56 AM. In C# programming, developers often encounter the "Object reference not set to an instance of an object" exception, commonly known as a NullReferenceException. However, with the introduction
  • Handling Null Values in DataGrid2/7/2024 11:30:13 AM. n C# programming, developers often encounter the "Object reference not set to an instance of an object" exception, commonly known as a NullReferenceException. However, with the introduction
  • Difference between split(), match(), splice(), substring(), and substr() in JavaScript1/24/2024 5:48:33 AM. The article gives a brief idea about various string operations like split(), match(), splice(), substring(), and substr() in JavaScript.
  • Lazy Loading In ASP.NET Core 7 Web API1/22/2024 9:09:14 AM. ASP.NET Core 7 Web API. Lazy loading is a technique where related data is only loaded from the database when it is explicitly requested. In Entity Framework Core, lazy loading can be achieved by marki
  • Concatenate Two Strings in C# 1/17/2024 8:36:28 AM. In C#, string concatenation can be achieved using the + operator, String.Concat method, String.Join method, or string interpolation. Choose the method that suits your coding style and project requirem
  • Sending SMS Notifications with Azure Communication Services in .NET1/7/2024 11:35:59 AM. Learn to send SMS notifications with Azure Communication Service using .NET. Follow simple steps like installing the SDK, importing libraries, setting up connection strings, and sending SMS messages w
  • Common Mistakes and How to Avoid Them in C# 1/5/2024 5:08:24 AM. In this article, we will learn how to avoid common mistakes in C# programming. From efficient null checking and using tuples instead of classes to optimizing string concatenation and evaluating defaul
  • JavaScript Replace Spaces12/27/2023 7:57:40 AM. Learn how to use the JavaScript replace() method to remove spaces from a string and replace them with another character. The JavaScript replace() method is mostly used to replace the spaces in this ar
  • API Development Using Dapper and Microsoft Asp.NET Core Web API 12/24/2023 4:38:11 PM. ASP.NET Core is a powerful framework for building web applications, and "Dapper" is a popular micro ORM (Object-Relational Mapping) that works well with ASP.NET Core for database operations.
  • Reverse String Pipe in Angular12/14/2023 10:40:44 AM. Learn how to create a custom pipe in Angular to reverse a string. Follow the steps to generate a pipe, implement the logic, and use it in your Angular application.
  • How to Extract Initials from a String in Angular12/13/2023 1:42:53 PM. In this article, we will learn how to extract initials from a string.
  • 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 PostgreSQL12/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 array11/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 Examples11/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 .Net10/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 Studio10/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# .NET10/1/2023 1:45:28 PM. This article provides a brief introduction to Strings in C# .NET.
  • How To Use Query Strings In ASP.NET9/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 Methods9/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 Immutable9/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 .NET9/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# Features9/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 III9/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 II9/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 Example9/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 Attachment8/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 Questions8/29/2023 8:38:19 AM. This article will demonstrate you, top 10 C# string technical interview questions and their solutions.
  • String Methods in JavaScript8/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 JavaScript8/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 JavaScript8/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 MySQL8/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 Python7/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 Databases7/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 Websites7/19/2023 9:57:31 AM. In this article you will learn how to define and use Connection Strings in Azure Websites.
  • Understanding JSON Parsing and JSON Stringifying7/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 I6/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 JavaScript6/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 String6/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 75/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 Guide5/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 JavaScript5/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#