Hi folks,
Is there any function (lotusScript)out there which will allow you to manipulate a string in the following fashion. For example if you have a string like so:
Mickey Collins/text here/text here
Can u get my name and forget about the rest, bearing in mind that this name can change (e.g Joe Bloggs/text here/text here).
Also what if you had a string like so:
CN=Mickey Collins/text here/text here
Can u get my name and forget about the rest, and as above this name can change…Any help would be appreciated, thanks!
Subject: parsing strings??
If it’s name handling you are looking for, there is a NotesName class that can help you. There are some examples in the Designer help.
johan@kanngard.net
http://dev.kanngard.net
Subject: RE: parsing strings??
Hi Johan,
Thanks for that…thats what I was looking for. Go raibh maith agat!
Subject: RE: parsing strings??
I am going to Ireland this summer, is that a phrase I should be using? 
johan@kanngard.net
http://dev.kanngard.net
Subject: parsing strings??
Hi
If what your asking for is really…“How do i get hold of my common username?”
then this would do:
Dim session As New NotesSession
Dim user As String
user = session.CommonUserName
regards
Jesper Kiaer
http://www.jezzper.com
Subject: RE: parsing strings??
Sorry Jesper,
You must have misread my Question. The name could be any name, not the current users name!
thanks
Subject: RE: parsing strings??
Dim anyName As NotesNameSet anyName = session.CreateName(yourStringHere)
commonNameString = anyName.Common