Essa empresa é sua?
Implement a function that takes a given string, capitalizes the first letter and returns a a11y / I18n style string - first letter, number of characters in between, last letter. Then, modify it to make it so that it accepts a parameter that is how many letters on either side of the number in the middle to include. (for example, a11y and I18n both have n=1, as only the first and last letter of each are included.)
Sigiloso
Using a method to get a substring out of a string, get the first 0 to n-1 characters of the string for the start, and the length - n to length-1 characters for the end. Coerce the length of the string into a string from a number. Append the first substring, the number string, and then the last substring.