Data Manipulation

Difference between Concatenation and Join ?

Concatenation is a string manipulation technique that adds 2+ strings together. For example the string “This is” and " my string" can be concatenated together so it is just one string called “This is my string”

Join is a method used to take an array of strings and convert it into a single string. You might have an array of strings that contains 4 strings “This”, “is”, “my”, “string”. You can use the join method to take all of the strings in the array and turn it into a single string called “This is my string”

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.