From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parsing a string for asterick - having brain fade

all,
 
this should be quick. how do you use the match pattern to locate an asterick in a file without LV interpretting the asterick (*) as a wildcard? ie, how would you find the following asterick in a text string below.
 
asdfaf
asdfasdfsfd
adsfsdf
asdf*asdf
asfdasdf
asdfasfd
 
 
0 Kudos
Message 1 of 3
(2,180 Views)
Easy   \*

\ Cancels the interpretation of any special character in this list. For example, \? matches a question mark and \. matches a period. You also can use the following constructions for the space and non-displayable characters:

Straight out of the help file for match pattern. 🙂

Time for sugar / caffine?

Message Edited by Nick on 03-15-2006 04:48 PM

0 Kudos
Message 2 of 3
(2,178 Views)
If you just need to locate one character, Split String is faster. Regulair Expressions are great, but they do have a performance penalty.


Regards,


Wiebe.
"Nick" <x@no.email> wrote in message news:1142399563650-338375@exchange.ni.com...
Easy&nbsp;&nbsp; \*\ Cancels the interpretation of any special character in this list. For example,
\? matches a question mark and \. matches a period. You also can use the following
constructions for the space and non-displayable characters: Straight out of the help file for match pattern. 🙂 Time for sugar / caffine?Message Edited by Nick on 03-15-2006 04:48 PM
0 Kudos
Message 3 of 3
(2,158 Views)