View Single Post
Old 09-19-2014, 09:50 AM   #579
DMee
Zealot
DMee began at the beginning.
 
Posts: 116
Karma: 10
Join Date: Jun 2011
Location: Stockport, UK
Device: ipad, iphone, kindle
Quote:
Originally Posted by DMee View Post
Getting there :-)

I changed formulas to

stripped = re(field('series'), '^(A|The|An)\s+', '');
shortened = shorten(stripped, 8, '-' ,6);
initials = re(stripped, '[\s]?([^\s]{1,3})[^\s]+(\s|$)', '\1');

But summats wrong
Actually its not handling and words 3 or less properly - loses last letter??
DMee is offline   Reply With Quote