Skip to content

Commit 2c21dd1

Browse files
authored
pull base content,head:MicrosoftDocs:main,into:wwlpublishsync
2 parents 101a678 + 5781afa commit 2c21dd1

11 files changed

+20
-17
lines changed

learn-pr/wwl-language/csharp-modify-content/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/2-exercise-indexof-substring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Use the string's IndexOf() and Substring() helper methods
44
metadata:
55
title: Exercise - Use the string's IndexOf() and Substring() helper methods
66
description: "Exercise - Use the string's IndexOf() and Substring() helper methods"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/3-exercise-lastindexof-indexofany.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Use the string's IndexOfAny() and LastIndexOf() helper methods
44
metadata:
55
title: Exercise - Use the string's IndexOfAny() and LastIndexOf() helper methods
66
description: "Exercise - Use the string's IndexOfAny() and LastIndexOf() helper methods"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial
@@ -15,7 +15,7 @@ content: |
1515
quiz:
1616
title: "Check your knowledge"
1717
questions:
18-
- content: "What method would you use to search for the first occurrence of a search term in a long string?"
18+
- content: "What method should be used to search for the first occurrence of a search term in a long string?"
1919
choices:
2020
- content: "`IndexOfAny()`"
2121
isCorrect: true

learn-pr/wwl-language/csharp-modify-content/4-exercise-remove-replace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Use the Remove() and Replace() methods
44
metadata:
55
title: Exercise - Use the Remove() and Replace() methods
66
description: "Exercise - Use the Remove() and Replace() methods"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/5-exercise-challenge-extract-replace-remove-data.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.languages.csharp-modify-content.challenge
3-
title: Complete the challenge to extract, replace, and remove data from an input string
3+
title: 'Exercise: Complete a challenge to extract, replace, and remove data from an input string'
44
metadata:
5-
title: Complete the challenge to extract, replace, and remove data from an input string
6-
description: "Complete the challenge to extract, replace, and remove data from an input string"
7-
ms.date: 02/25/2023
5+
title: 'Exercise: Complete a challenge to extract, replace, and remove data from an input string'
6+
description: "Exercise: Complete a challenge to extract, replace, and remove data from an input string"
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/6-review-solution-extract-replace-remove-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Review the solution to extract, replace, and remove data from an input st
44
metadata:
55
title: Review the solution to extract, replace, and remove data from an input string
66
description: "Review the solution to extract, replace, and remove data from an input string"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/7-knowledge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Knowledge check
44
metadata:
55
title: Knowledge check
66
description: "Knowledge check"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/8-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 02/25/2023
7+
ms.date: 04/18/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-modify-content/includes/1-introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ In this module, you will:
2020
## Prerequisites
2121

2222
- Beginner level experience with `string` helper methods
23+
- Beginner level experience with the `while` iteration statement
24+
- Experience using Visual Studio Code to develop, build, and run C# code

learn-pr/wwl-language/csharp-modify-content/includes/4-exercise-remove-replace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this exercise, you'll remove characters from a string using the `Remove()` me
44

55
Sometimes, you'll need to modify the contents of the string, removing or replacing characters. While you could replace characters with the tools you already know, it requires a bit of temporarily storing and stitching strings back together. Fortunately, the `string` data type has other built-in methods, `Remove()` and `Replace()`, for these specialized scenarios.
66

7-
## Use the Remove() method
7+
## Use the `Remove()` method
88

99
You would typically use `Remove()` when there's a standard and consistent position of the characters you want to remove from the string.
1010

@@ -42,7 +42,7 @@ In the following steps you will need to remove the customer's name to format the
4242

4343
The `Remove()` method works similarly to the `Substring()` method. You supply a starting position and the length to remove those characters from the string.
4444

45-
## Use the Replace() method
45+
## Use the `Replace()` method
4646

4747
You would use the `Replace()` method when you must replace one or more characters with a different character (or no character). The `Replace()` method is different from the other methods you've used so far, it will replace every instance of the given characters, not just the first or last instance.
4848

0 commit comments

Comments
 (0)