From a786568e0bc8f51d88cff6cc6d9cd95275f98dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20L=C3=B3pez-Anglada?= Date: Thu, 11 Jul 2024 18:34:07 +0200 Subject: [PATCH] Use more concise example --- reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md index 00199effbe51..8ba21ef8a3fe 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -646,7 +646,7 @@ The following example shows how to select all odd numbers from the array. This example show how to select the strings that aren't empty. ```powershell -('hi', '', 'there').Where({$_.Length}) +('hi', '', 'there').Where{$_} ``` ```Output