Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

strfind (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the string class.

Syntax

c = strfind(a, b)

Description

Finds all occurrences of a string within another string.

Examples

Inputs

Name Description
a Specifies the string in which you want to search.
b Specifies the string for which you want to search.

Outputs

Name Description
c Returns the starting indexes in a of all occurrences of b. c is a column vector.

Examples

A = 'this is a test for strfind'
B = 'is'
C = strfind(A, B)

Related Topics

findstr
regexp
regexpi
strcmp
strncmp
strmatch
strread


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit