Replace Space From String Values in Visualforce Page

Sample Code:

<apex:page standardController="Lead">
    <apex:outputText value="{!SUBSTITUTE(Lead.Company, " ", "")}" escape="false"/>   
</apex:page>