LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

please explain this code..

this is a code i found in the VI examples of LABVIEW 8. it is a program to extract numbers from a string. can somebody plz explain the following code which was used for the job:  [-]?[.]?[0-9]+[.]?[0-9]*

i have got some hint about the meaning for most of the letters...however, wot does '?' and '*' stand for?
0 Kudos
Message 1 of 3
(2,519 Views)
Those are characters used in the Match Pattern function to search for characters. If you crack open the manual (Help->Search the LabVIEW Help menu item) and switch to the Index tab, and enter "Match Pattern" in the textbox you can click on the "special characters" topic which explains all those characters.

EDIT: Sorry for the double-answer. Posted at the same time as altenbach responded.

Message Edited by smercurio_fc on 10-04-2007 09:13 AM

0 Kudos
Message 3 of 3
(2,512 Views)