Hi there,
I am a beginner at programming, and wanted to know how to remove text. For example, I am trying to get the username of the logged on user (e.g. Bryn)into a variable. I did this with
However this also brought the domain with it (e.g. aaabbbccc\Bryn) .
Is there anyway of getting rid of the domain? The App will be used on many domains, so removing the first, say, 9 characters won't be any good.
I am a beginner at programming, and wanted to know how to remove text. For example, I am trying to get the username of the logged on user (e.g. Bryn)into a variable. I did this with
Code:
variable = My.User.Name
Is there anyway of getting rid of the domain? The App will be used on many domains, so removing the first, say, 9 characters won't be any good.
Comment