Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69147

Match pattern string

$
0
0

I have aattached VI. trying to make a basic calculator. (staretd making it, first I want to get correct string from user.)

When user enter decimal(.), it should not be able to enter decimal again.

I have made code in which a string match pattern is used to check if decimal is already present. if present then do not add it otherwise add it.

Although whenever I press decimal, match pattern always return true. Don't know why?


Viewing all articles
Browse latest Browse all 69147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>