Closed nicktaras closed 4 months ago
e.g. using a function like this.
export function previewAddr(inputString: string) { if (inputString.length < 10) { return inputString; } else { const firstChars = inputString.substring(0, 10); const lastChars = inputString.substring(inputString.length - 4); return `${firstChars}...${lastChars}`; } }
so it appears like this
Implemented
e.g. using a function like this.
so it appears like this