Hi I don't know how to use strlen into csh script #!/bin/csh @ len = strlen(trm_ip) It seems not ok My object is cut the first and the last character but each time the string could be different Your help is appreciated. Any hints, ideas, pointers are welcome. Thanks - UB