## Detecting digit combinations in a number with PowerShell

How we can inspect a number like 143256789 and determine it contains the digits 1-9

How do you pass the time on a car journey? Most of us have memories of “I spy” or other game.

How we can inspect a number like 143256789 and determine it contains the digits 1-9

How do you pass the time on a car journey? Most of us have memories of “I spy” or other game.

A person can look at a number and determine which digits are present. How would a script achieve this?

Have you ever wondered, how many unique digits are in a number? Alternatively, how many times does a given digit appear in a number? Using PowerShell, I explore these questions in a variety of means and examples.