Although probably not going to give you the best result and I am a novice when it comes to code, here is a suggestion. It just breaks your text into lines of about 50 characters. Also, don't forget to click on the "Treat ... as tagged text" checkbox.:
var vdata = "Say I have a field called 'vdata'. I imagine I'd do something like if vdata is more than 50 characters, then wrap, else leave on one line, along with some other copyfit command that will adjust the size of the type so it looks decent without going too large on the short names?";
var newstring="";
var characters=50;
textstart=0;
textend=characters;
if(Len(vdata)>characters)
{
for (aloop=1;aloop<vdata.length/characters;aloop++)
{
breakpos = vdata.indexOf(" ",textend);
textamount = breakpos-textstart;
newstring = newstring + vdata.substr(textstart, textamount)+"<br />";
textstart=breakpos+1;
textend=(aloop+1)*characters;
}
newstring = newstring + vdata.substr(textstart, vdata.length-breakpos);
}
return newstring;
Now wait while someone amazingly converts this into a single line of regex
The reducing and enlarging of text is up to the settings in FusionPro. You can accept the default or override and there are plenty of examples in the forum.