February 2019
Intermediate to advanced
626 pages
15h 51m
English
The System.Text.StringBuilder class can be used to build complex strings. The StringBuilder class has a number of constructors that can be viewed on the MSDN class library, as shown in the following screenshot:

PowerShell is also able to show the list of constructors. However, PowerShell cannot show the descriptive text. Still, this may be useful as a reminder if the general functionality is already known. In PowerShell 5.0, the following syntax may be used to list the constructors:
PS> [System.Text.StringBuilder]::newOverloadDefinitions-------------------System.Text.StringBuilder new()System.Text.StringBuilder new(int capacity) ...
Read now
Unlock full access