Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 2.2 KB

File metadata and controls

44 lines (38 loc) · 2.2 KB
title Manipulating Strings in the .NET Framework
ms.custom
ms.date 03/30/2017
ms.prod .net
ms.reviewer
ms.suite
ms.technology dotnet-standard
ms.tgt_pltfrm
ms.topic article
helpviewer_keywords
strings [.NET Framework], manipulating
manipulating strings
ms.assetid d4568ff3-9f83-4549-acd8-47aec2194ac0
caps.latest.revision 11
author rpetrusha
ms.author ronpet
manager wpickett
ms.workload
dotnet
dotnetcore

Manipulating Strings in .NET

.NET provides an extensive set of routines that enable you to efficiently create, compare, and modify strings as well as rapidly parse large amounts of text and data to search for, remove, and replace text patterns.

In This Section

Best Practices for Using Strings
Examines string-sorting, comparison, and casing methods in .NET, and provides recommendations for selecting a string-handling method .

.NET Regular Expressions
Provides detailed information about .NET regular expressions, including language elements, regular expression behavior, and examples.

Basic String Operations
Describes string operations provided by the xref:System.String?displayProperty=nameWithType and xref:System.Text.StringBuilder?displayProperty=nameWithType classes, including creating new strings from arrays of bytes, comparing string values, and modifying existing strings.

Related Sections

Type Conversion in .NET
Explains the techniques and rules used to convert types using .NET.

Formatting Types
Provides how to use the base class library to implement formatting, how to format numeric types, how to format string types, and how to format for a specific culture.

Parsing Strings
Describes how to initialize objects to the values described by string representations of those objects. Parsing is the inverse operation of formatting.