Reputation: 2042
I want to join some UTF-8 strings together, Any ideas?
e.g:
Input: س + ل + ا + م
Output: سلام
Upvotes: 1
Views: 254
Reputation: 303
In Javascript you can do var output = 'س + ل + ا + م'.split(' + ').join('');
. Just replace what is separating the characters in the split function.
Upvotes: 5