Skip to content

Instantly share code, notes, and snippets.

View helu2016's full-sized avatar

Hermann Lupfert helu2016

  • Skien, Norway
View GitHub Profile
@helu2016
helu2016 / games_2016_03_Hermann.ps1
Last active March 12, 2016 12:28
PowerShell Games 2016-03 (www.powershell.org)
<#
.Synopsis
Test-Latin1Letter tests if a string contains a letter for the Latin1 table.
.DESCRIPTION
The function Test-Latin1Letter returns $true if the tested string contains a letter which is in the Latin1 table of UFT8.
To mathematical operators (multiplication sign and division sign) are not included.
.EXAMPLE
"øre" | Test-Latin1Letter
$true