Pimcore
  •  Development Documentation
    •  Overview
      • Pimcore Ecosystem
      • Develop for Pimcore
    •  Getting Started
      • Installation
      • Advanced Installation Topics
      • Directory Structure
      • Configuration
      • Architecture Overview
      • Create a First Project
    •  MVC
      • Controller
      •  Template
        • Layouts
        •  Template Extensions
          • Placeholder
          • HeadLink
          • HeadMeta
          • HeadScript
          • HeadStyle
          • HeadTitle
          • InlineScript
        • Thumbnails
      •  Routing and URLs
        • Documents and Pretty URLs
        • Custom Routes
        • Redirects
        • Working with Sites
    •  Documents
      •  Editables
        •  Areablock
          • Bricks
        • Area
        • Block
        • Checkbox
        • Date
        • Relation (Many-To-One)
        • Relations (Many-To-Many)
        • Image
        • Input
        • Link
        • Multiselect
        • Numeric
        • Embed
        • PDF
        • Renderlet
        • Select
        • Snippet
        • Table
        • Textarea
        • Video
        • WYSIWYG
        • Scheduled Block
      •  Document Types
        • Newsletter Documents
        • Print Documents
      • Navigation
      • Predefined Document Types
      • Working with PHP API
      • Inheritance
    •  Assets
      • Working with PHP API
      •  Working with Thumbnails
        • Image Thumbnails
        • Video Thumbnails
        • Document Thumbnails
      • Accessing Assets via WebDAV
      • Restricting Public Asset Access
    •  Objects
      •  Object Classes
        •  Data Types
          • Blocks
          • Calculated Value Type
          • Classification Store
          • Consent
          • Date Types
          • Dynamic Select Types
          • Fieldcollections
          • Geographic Types
          • Image Types
          • Localized Fields
          • Number Types
          • Object Bricks
          • Others
          • Relation Types
          • Reverse Object Relation Type
          • Select Types
          • Structured Table
          • Table
          • Text Types
          • Video Type
        •  Layout Elements
          • Dynamic Text Labels
          • Preview Iframe
        •  Class Settings
          • Composite Indices
          • Custom Icons
          • Custom Layouts
          • Custom Views
          • Inheritance
          • Interfaces and traits
          • Link Generator
          • Locking Fields
          • Path Formatter
          • Preview
          • Preview Generator
          • Variants
      • Working with PHP API
      • External System Interaction
      • Customize Editing Interface
    •  Multi Language i18n
      • Localize your Documents
      • Shared Translations
      • Admin Translations
      • Formatting Service
    •  Workflow Management
      •  Configuration Details
        •  Placeholder Example
        • Marking Stores
        • Support Strategies
        • Permissions
        • Workflow Tutorial
        • Workflow Report
        • Working with PHP API
      •  E-Commerce Framework
        • Architecture Overview
        • Installation
        •  Configuration
          • PimcoreEcommerceFrameworkBundle Configuration Reference
        •  Index Service
          •  Product Index Configuration
            • Assortment Tenant Configuration
            • Data Architecture and Indexing Process
            •  Elastic Search
              • Configuration Details
              • Synonyms
            • Findologic
          • Product List
          • Mockup Objects
        •  Filter Service
          •  Elastic Search
            • Filter Classification Store
            • Filter Nested Documents
        •  Working with Prices
          • Price Systems and getting Prices
          • Tax Management
          • Pricing Rules
          • Vouchers
          • Calculate with Prices
        • Working with Availabilities
        • Cart Manager
        •  Checkout Manager
          • Basic Configuration
          • Checkout Steps
          • Committing Orders
          • Integrating Payment
          • Checkout Manager Details
          • Checkout Tenants
        •  Payment
          • Recurring Payments
        •  Order Manager
          • Working with Order Lists
          • Working with Order Agent
        • Tracking Manager
      •  Tools and Features
        • Versioning
        • Auto Save Drafts
        • Custom Icons
        • Scheduling
        • Notes and Events
        • Properties
        • Tags
        • Perspectives
        • Application Logger
        • Newsletter
        • Glossary
        • System Settings
        • Website Settings
        •  Marketing Settings
          • Analytics
        • Custom Reports
        • Rendering PDFs
        • Cloning Elements
        • Permission Analyzer
        • GDPR Data Extractor
        •  Targeting and Personalization
          • Visitor Info
          • Conditions
          • Data Providers
          • Action Handlers
          • Targeting Storage
          • Frontend Javascript
        • Robots.txt
        • Sitemaps
        • Two Factor Authentication
        • Notifications
      •  Development Tools and Details
        • Database Model
        • Logging
        •  Cache
          • Full Page Cache
        •  Security Authentication
          • Configure Password Hashing Algorithm
          • Authenticate Pimcore Objects
          • Authenticate Against Admin Session
          • Authenticator Based Security
        • Console CLI
        • Debugging
        • Magic Parameters
        • Static Helpers
        • UUID Support
        • Static Page Generator
        • Adaptive Design Helper
        •  Email Framework
          • Pimcore Mail
        •  Testing
          • Application Testing
          • Core Tests
          • Testing Services
        • Extending a Backend User
        • Google Services Integration
        • Google Custom Search Engine
        • Working with Sessions
        • Migrations
        • Preview Scheduled Content
        • Custom Admin Login Entry Point
        • Settings Store
      •  Extending Pimcore
        • Add Your Own Dependencies and Packages
        • Overriding Models
        • Parent Class for Objects
        • Event API and Event Manager
        •  Bundle Developers Guide
          • Loading Service Definitions
          • Auto Loading Config And Routing Definitions
          • Bundle Collection
          •  Pimcore Bundles
            • Installers
          • Event Listener UI
          • Adding Document Types
          • Adding Document Editables
          • Adding Object Datatypes
          • Adding Object Layout types
          • Loading Admin UI Assets
        • Dependency Injection Tags
        • Maintenance Mode
        • Maintenance Tasks
        • Custom Persistent Models
        • Deeplinks into Admin Interface
        • Add Your Own Permissions
      •  Deployment
        • Version Control Systems
        • Configuration Environments
        • Deployment Tools
      •  Administration of Pimcore
        • Backups
        • Cleanup Data Storage
        • Commandline Interface
        • Users and Roles
      •  Installation and Upgrade
        • System Requirements
        •  System Setup and Hosting
          • Apache Configuration
          • Nginx Configuration
          • File Permissions
          • File Storage Setup
          • DB Setup
          • Additional Tools Installation
          • Cluster Setup
          • Performance Guide
          • Fix Performance Issues on Windows
        •  Updating Pimcore
          • V6 to V10
          • Preparing for V11
        •  Upgrade Notes
        •  Best Practice
          • Implementing Product Information Management
          • Multilanguage Setup
          • Adding Button To Object Editor
          • Advanced Pricing System
          • Build Role Rights System for Frontends
          • Building Custom Rest APIs
          • Ecommerce Tracking
          • Integrating Commerce Data with Content
          • Primary-Replica Database Connection
          • Modifying Permissions based on Object Data
          • Object Bricks vs Classification Store
          • Object Data Inheritance
          • Open By-External Id
          • Style Backend Depending On App-Env
          • Security Concept
          • Setup Multilanguage Multishop Product Index
          • Showing Custom Layouts based on Object Data
          • Using Tags for Filtering
          • Web2Print Extending Config for PDFX conformance
          • Working With Runtime Cache
      •  User Documentation
        •  DataObjects
          • Grid Configuration General
          •  Grid Configuration Operators
            •  Extractors
              • AnyGetter
              • AssetMetadataGetter
              • FieldCollectionGetter
              • ObjectFieldGetter
              • PropertyGetter
              • RequiredBy
              • WorkflowState
            •  Formatters
              • BooleanFormatter
              • DateFormatter
              • Text
            •  Others
              • Alias
              • LocaleSwitcher
              • Merge
              • PHPCode
            •  Transformers
              • Anonymizer
              • Arithmethic
              • Base64
              • Boolean
              • CaseConverter
              • CharCounter
              • Concatenator
              • ElementCounter
              • IsEqual
              • Iterator
              • JSON
              • LFExpander
              • PHP
              • StringContains
              • StringReplace
              • Substring
              • TranslateValue
              • Trimmer
          • Field Lookup
        •  Targeting and Personalization
          • Concepts
          •  How to Personalize Content
            • Define Target Groups
            • Visitor Profiling
            • Create Personalized Content
            • Deliver Personalized Content and Debug
          •  Examples
          •  Administration of Pimcore
            • Data Protection and GDPR

        Pimcore Academy
        Download
        GitHub
        Forums
        Gitter

        Built from pimcore/pimcore@ec3e8a with pimcore-docs@cb1585 .

        User Documentation DataObjects Grid Configuration Operators Transformers StringContains

        Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
        Version: Edit on GitHub

        String Contains

        Symbol

        Returns true, if child element value contains search string. If child element value is an array, it returns an array of booleans for all array items.

        Sample

        • Previous
        • Next