Spec-Zone.ru › ColdFusion

findNoCase

Finds the first occurrence of a substring in a string, from a specified start position. If substring is not in string, returns zero. The search is case-insensitive.

findNoCase(substring, string [, start]) → returns numeric

  • CF
  • Lucee
  • BL 1.0.0+
  • See Also: find reFindNoCase

    Argument Reference

    substring string
    Required

    The string for which you are looking

    string string
    Required

    The string in which to search

    start numeric
    Default: 1

    The position from which to start searching in the string

    Examples
    Sample code invoking the findNoCase function

    Script Syntax

    findNoCase("s", "cfdocs.org", 0)

    Expected Result: 6

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/findnocase

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API