| |
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. <
else
> Helmut should use heitml. <\p>
Then he'd be a programming Wiz like Keith. <
/if>
|
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.
|