Examples: Initials property (NotesName - LotusScript®)
This agent creates a canonical hierarchical name then displays its initials component.
Sub Initialize
Dim session As New NotesSession
Dim nam As NotesName
REM Create a hierarchical name
Set nam = session.CreateName( _
"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US/S=Goode/G=John/I=B")
REM Returns "B"
Messagebox nam.Initials,, "Initials"
End Sub