buildString
Builds new string by populating newly created StringBuilder using provided builderAction and then converting it to String.
Builds new string by populating newly created StringBuilder initialized with the given capacity using provided builderAction and then converting it to String.