Documentation > CMS Template API Library > Util > FilterFilename(String)

FilterFilename

Filters the text based upon the Filename configuration in the CMS. The filters can be set at System > Configure > Filenames

public System.String FilterFilename(String)


Returns

A filtered string based upon the Filename Configuration within the CMS

Parameters

NameDescriptionType
text The text. System.String

Code Example

C#

Sample:

             Util.FilterFilename("apples and oranges")
            

Connect with Crownpeak