Concatenate Strings
In This Article
Concatenates the selected strings situated on the same code line and divided by the string addition operator.
#Availability
Available from the context menu or via shortcuts:
- when several strings situated on the same code line and divided by the string addition operator are selected.
#Notes
- This refactoring is the opposite of Split String.
#Examples
string str = │"My te" + "st string";
Dim str As String = │"My te" + "st string"
Result:
string str = "My test string"│;
Dim str As String = "My test string"│