ShrinkText

Shrinks a text into smaller text controlling where is the majority will be displayed and adding ... in between
Two functions, ShrinkText and ShrinkText_Delimiter
1st one to shrink regardless of text, while second one will respect the delimiter character
ShrinkText will do shrinking like
D:\ANmar.Systems\Sites\Tigris.Tech\wwwroot\ANmaRedirect.asp
into
D:\ANm...\wwwroot\ANmaRedirect.asp

ShrinkText_Delimiter will do shrinking as
D:\ANmar.Systems\Sites\Tigris.Tech\wwwroot\ANmaRedirect.asp
into
D:\ANmar.Systems\...\ANmaRedirect.asp


Public

Tested

My Own Work

OriginText, Optional Shrink2Chars = 100, Optional ShrinkReplace = "...", Optional Part1W = 0.5
and
OriginText, Optional Delimi = "\", Optional Shrink2Chars = 100, Optional ShrinkReplace = "..."

Views 1552 Downloads 481