Manage Learn to apply best practices and optimize your operations.

Simple method to put LastName first and FirstName last from CommonUserName

This tip describes a procedure to put LastName first and FirstName last from CommonUserName.

This tip describes a simple way to turn a CommonUserName into LastName , FirstName MiddleInitial.


rs := @ReplaceSubstring(@Name
([CN]; @UserName); " "; ";");
exp := @Explode(rs; ";"; 0);
ele := @Elements(exp);
@If(ele=3; @Subset(exp; -1) + " , " + @Subset(exp; 1) + " " + @Subset(@Subset (exp; 2); -1);
@Subset(exp; -1) + " , " + @Subset(exp; 1))

Dig Deeper on Lotus Notes Domino Formula Language

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close