This function is part of the OZOFiles PowerShell module.
Returns the last "Length" characters of a string. If Length is longer than String, the original string is returned.
Get-OZOEndSubString
-String <String>
-Length <Int32>
| Parameter | Description |
|---|---|
String |
The string to parse. Accepts pipeline input. |
Length |
The number of characters to return. |
Get-OZOEndSubString -String "The quick brown fox jumps over the lazy dog." -Length 8
azy dog."The quick brown fox jumps over the lazy dog." | Get-OZOEndSubString -Length 8
azy dog.System.String