strcmp in join