I am trying to use javascript or angularjs to make a table header titles return the words in parentheses on their own line. Therefore for instance
abcdefg (x yz)
, should make the title look like this:
abcdefg
(x yz)
I tried to split on parentheses but this returns every word separated and then i would need to reconstruct the string into 2 parts.
(')`? Although that might create problems with more than 1 `(` sign – Icepickle Nov 02 '17 at 15:36