The TRIM function then removes all extra spaces and returns just the nth string.
You’ll find this feature on the Data tab of the ribbon in the Data Tools section.
For example, =MID(“apple”,2,3) returns “ppl”.
SUBSTITUTE Function
The Excel SUBSTITUTE function replaces text in a given string by matching.
For example, =REPT(“x”,5) returns “xxxxx”.
LEN will also count characters in numbers, but number formatting is not included.