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
(629 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
(627 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
(607 Views)