TLDR Web Dev · LAUNCHES & TOOLS
TRIMMIDDLE
Summary from the TLDR Web Dev newsletter
trimMiddle shortens strings by removing characters from the middle and replacing them with a specified filler. It handles emojis correctly.
TLDR Web Dev · LAUNCHES & TOOLS
trimMiddle shortens strings by removing characters from the middle and replacing them with a specified filler. It handles emojis correctly.