[SalesForce] Display first 100 chars of field in apex:pageBlockTable

I have a list of account bound to a apex:pageblocktable.
I need a way of displaying just the first 100 chars of the field description on the table.

<apex:column headerValue="{!$ObjectType.Account.Fields.Description.Label}">
       <apex:outputField value="{!s.Description}"   />
</apex:column>

Tried changing it to

<apex:column headerValue="{!$ObjectType.Account.Fields.Description.Label}">
                    <apex:outputText value="{!if(String.IsBlank(s.Description),'',s.Description.left(100))}"   />
                </apex:column>

But throws

Error: Unknown function String.IsBlank. Check spelling

Any other way we can achieve this?

Best Answer

there is a simple way to do this

<apex:outputText value="{!left(Account.description,100)}"   />