In

 

 

 

In

 

Description

Searches for a specific value in a list of values.

 

Arguments

1.In - Name of the Macro.

2.Search Value - The value or macro command to perform a case-sensitive search for.

3.Search Argument1,[...SearchArgumentX] - A list of one or more values to search in to locate a match.

 

Examples

<In|A|1|2|3|A|B|C>

This searches the values 1,2,3,A,B,C for the value A and when found returns the value A.

 

<In|X|1|2|3|A|B|C>

This searches the values 1,2,3,A,B,C for the value X and when not found returns an empty (zero-length) string.

 

<In|<Upper|<Environment|USERNAME>>|TEST|SERVICE>

This searches the values TEST and SERVICE for the value of the USERNAME environment variable and returns the USERNAME if found otherwise an empty (zero-length) string.

 


Copyright © 2024 pasUNITY, Inc.

 

Send comments on this topic.



Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.