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

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Bold.codes

Linkedin Login

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

Views 1,718

Downloads 569

CodeID
DB ID