Get Server name - CN

Hello, I have field a = “CN=COMNOTES1/O=YTPN_ASIA”.

I want to get the CN value only , that is “COMNOTES1” .

By using Lotus Script how can i get the CN out ?

Anyone got idea… please suggest.

Thanks.

Subject: Get Server name - CN

Never done this with a server name, but if it were a person’s name I would create a NotesName object from the Canonical version and go for the .Common property of that NotesName object.