Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

strFind()

Purpose

Used to find the location of a string within another.

Description

Receives two strings, one to search and the other to locate. Returns the text character location of the search target within the supplied string.

Syntax

result = strFind( stringVar, to_find )

Arguments

result Position within string at which the search target appears (begins counting at 0)

stringVar The string being checked

to_find The search target

Example

stringVar = "FUZE"
to_find = "Z"

location = strFind( stringVar, to_find )

print( "Search target '", to_find, "' appears at character ", location, " in string '", stringVar, "'" )
update()
sleep(5)

Associated Commands

str(), strBeginsWith(), strContains(), strEndsWith(), strReplace(), stringHash()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.