I hardly ever say/hear the equivalent in Spanish, it sounds quite formal. "Ha sido un placer saber de ti".
If it's a friend the one I'm talking to: ¡Cómo me ha encantado hablar contigo! // ¡Me alegra mucho saber de ti después de tanto tiempo!
+
¡Cuídate! = take care // ¡Que te vaya bien! = I hope everything goes fine (?) // etc.