Finds the nth index of a char in a string, returns -1 if the char does not exist, or if nth is out of range.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Find-NthIndexOf

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Thomas Malkewitz @dotps1

Package Details



dotps1 Regex Index


This script has no dependencies.

Release Notes

Move escaping the regex value from begin block to the process block to handle better pipeline support.


Version History

Version Downloads Last updated
1.1 (current version) 295 3/17/2017
1.0 35 3/17/2017