How do I get a string value prior to a specific character in the the string in a server script?
In our company, the host name of our CIs are in the format of friendlyname.domain, and the domain also has several periods in it. For example, one of the CI's hostname could be wc123456.some.domain.name I need to get the data in the host name up ...