Quote:
Originally Posted by DMee
Whilst I am asking - how would I get a column of the length of the title - I have some that have ended up massively long and I want to quickly find them and edit them :-)
|
The template is
Quote:
Originally Posted by DMee
Actually its not handling and words 3 or less properly - loses last letter??
|
Try
Code:
initials = re(stripped, '[\s]?([^\s]{1,3})[^\s]*(\s|$)', '\1');
Quote:
Originally Posted by DMee
Also is it poss to have it as
Wor-Wit-End
|
Does this do what you want?
Code:
initials = re(list_re(stripped, ' ', '[\s]?([^\s]{1,3})[^\s]*(\s|$)', '\1'), ' ', '-');