Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

strfindall (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: string

Requires: MathScript RT Module

Syntax

c = strfindall(a, b)

Legacy Name: strfind

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 row vector.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

findstr
regex
regex_i
strcmp
strcmp_n
strmatchall
strread


 

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