Initials
FreeLogic@rabbinatix/initials by Rabbinatixupdated Oct 4, 2026
The initials of a name: `Ada Lovelace` becomes `AL`.
For avatars and compact lists. Splits the name into words, takes the first letter of each with Map and a helper function, joins them and upper-cases the result.
Shows: Split, Map with a helper function, Substring, Join, To Upper Case.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Initials. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
name: Text
Outputs
initials: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 7
Initials
name
Trim, String. 1 input, 1 output. step 2 of 7
Trim
text
result
Split, String. 2 inputs, 1 output. step 3 of 7
Split
text
separator
parts
Map, Collection. 1 input, 1 output. step 4 of 7
Map First letter
array
result
Join, String. 2 inputs, 1 output. step 5 of 7
Join
items
separator
result
To Upper Case, String. 1 input, 1 output. step 6 of 7
To Upper Case
text
result
Return, Input / output. 2 inputs, 0 outputs. step 7 of 7
Return
initials
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 3/3 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Two words | {"name":"Ada Lovelace"} | {"initials":"AL"} | |
| Lower case and spaces | {"name":" grace brewster hopper "} | {"initials":"GBH"} | |
| Empty | {"name":""} | {"initials":""} |
Try it
Versions
In this package
Initials (entry)
First letter
