#IBM/Lotus Notes Formula, 76 bytes
IBM/Lotus Notes Formula, 76 bytes
@ReplaceSubstring(i;@Explode("B b E e I i S s");@Explode("8 8 3 3 1 1 5 5"))
Takes input as i
. Works because @ReplaceSubstring
can take a list of characters to replace and a list of replacement characters and match them one to one.
There is no TIO for formula so a screenshot is shown below: