how to trim =Environ()

action

Registered User.
Local time
Tomorrow, 09:04
Joined
May 29, 2003
Messages
89
I have a form that loads the computer name using =Environ(5) in the default value of a combo box. Problem being that It shows as "Computername=counter1" where I need just "counter1" so I thought I'd trim it, but I don't know anything about trimming so can anybody help? I found the help as usual completley unhelpful!

Cheers
 
Computername=counter1

if that is what you get back and only want the counter1 part....

try calling the environment thing by name....

=environ("computername")

Will return only the computername....


Regards

The mailman
 
yep that worked. Thanks
 

Users who are viewing this thread

Back
Top Bottom