Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

String Function

Is there a string function to convert my string of type servername.na.corp.companyname to servername.

I have to delete the .na.corp.companyname part.

Labels (1)
10 Replies
Not applicable
Author

Please try this:


if(isnum(Subfield(YOURFIELD, '.',1)), trim(replace(YOURFIELD,'.sa.corp','')), Subfield(YOURFIELD, '.',1))


This should work