Message 1 of 15
Insert fields, initials, from Login

Not applicable
03-08-2016
08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to extract someones initials, first and last letter, from their Login.
%<\AcVar Login \f "%UC2">%
- Gives me SURNAME, NAME
%<\AcDiesel $(substr, $(getvar, "LOGINNAME"),1,3)>%
- Gives me the loginname (based on the string etc), which is SurnameN.
I'd much prefer to have it based on Login (rather than loginname), and have it pick the first letter in each word, but backwards (spelling NS). Alternatively, last and first in the loginname.
Hope it makes sense. Any ideas?
PS. I don't speak Diesel/Code, but I can make sense of some of it. 🙂 DS.