• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
TrimWordsbyLen

trims a string to the whitespace closest to a given number of characters. It can return the string trimmed to the closest whitespace to the value given, or the last whitespace before, or the next after.

<MTEntryTitle TrimWordsbyLen="=15"> gives the closest
<MTEntryTitle TrimWordsbyLen="-15"> gives the one before
<MTEntryTitle TrimWordsbyLen="+15"> gives the one after
<MTEntryTitle TrimWordsbyLen="15"> is a shortcut format for closest

Leave a comment