Contact | Privacy | Datenschutzerklärung | Impressum

contains, ContainsCase

Format: contains ( string, substring )
Format: ContainsCase ( string, substring )

Purpose: Looks whether a substring is contained in a string.

The ContainsCase() function works very similar but is not case sensitive.

Return Values: Returns true if and only if string contains the substring.

Example 1:

input:resulting output:
<? contains("Hello World","ello")>true
<? contains("Hello World","xello")>false

Example 2:

input:resulting output:
<if contains("Helmut is a Wizard","Wiz")
    > Helmut is a Wiz. <
    > Helmut should use heitml. <\p>
    Then he'd be a programming Wiz like Keith. <
 Helmut is a Wiz. 

See Also: index(), indexCase(), subst(), substall().

This page was dynamically generated by the web application development tool RADpage of H.E.I.

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.

© 1996-2024 H.E.I. All Rights Reserved.

Component Guide
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    heitml Tags
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  New Features
  heitml 1
User Guide
Contact / Impressum