From 4381a348ae03ce8d9c7301e5082cc7f2fbb37100 Mon Sep 17 00:00:00 2001 From: Petr Kulikov Date: Sun, 11 Mar 2018 17:36:25 +0100 Subject: [PATCH] modify-string-contents.md: added interactive note --- docs/csharp/how-to/modify-string-contents.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/csharp/how-to/modify-string-contents.md b/docs/csharp/how-to/modify-string-contents.md index 642234e3f3733..ff9935a7d21dc 100644 --- a/docs/csharp/how-to/modify-string-contents.md +++ b/docs/csharp/how-to/modify-string-contents.md @@ -14,6 +14,8 @@ ms.author: "wiwagn" This article demonstrates several techniques to produce a `string` by modifying an existing `string`. All the techniques demonstrated return the result of the modifications as a new `string` object. To clearly demonstrate this, the examples all store the result in a new variable. You can then examine both the original `string` and the `string` resulting from the modification when you run each example. +[!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] + There are several techniques demonstrated in this article. You can replace existing text. You can search for patterns and replace matching text with other text. You can treat a string as a sequence of characters. You can also use convenience methods that remove white space. You should choose the techniques that most closely match your scenario. ## Replace text @@ -72,4 +74,4 @@ You can try these samples by looking at the code in our [GitHub repository](http ## See also [.NET Framework Regular Expressions](../../standard/base-types/regular-expressions.md) - [Regular Expression Language - Quick Reference](../../standard/base-types/regular-expression-language-quick-reference.md) \ No newline at end of file + [Regular Expression Language - Quick Reference](../../standard/base-types/regular-expression-language-quick-reference.md)