 ponorac92
		
			ponorac92
		
		
		
		
		
		
		
		
	
			01-14-2016 04:51 PM
Hello, I have 10 strings and I need to search every sting for a capital letter. If there is a capital letter in a string I need to put the string in an array of strings. I don't know how to separate a string with a capital letter in it. If there is no capital letter than the string is skipped. I tried using the Match Pattern function and it didn't help. Thanks in advance.
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			01-14-2016 04:53 PM
Okay... but what did you use for the pattern?
 AYanez
		
			AYanez
		
		
		
		
		
		
		
		
	
			01-14-2016 05:16 PM
Meavy this could help you if I understood well the problem.
01-14-2016 05:49 PM
I used [A-Z]+. I'm fairly new to LabView and i saw a guy using that line on YouTube.
 Kyle97330
		
			Kyle97330
		
		
		
		
		
		
		
		
	
			01-14-2016 05:57 PM
What did you do with the output of the "match pattern" search? [A-Z]+ should work...
01-14-2016 06:04 PM
Yeah that's what I needed. Thank you very much for the reply and help. 🙂 Cheers.
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			01-14-2016 08:40 PM
I think your teacher will laugh at that solution. 😉
 mikeporter
		
			mikeporter
		
		
		 
		
		
		
		
		
	
			01-14-2016 09:57 PM
 PhillipBrooks
		
			PhillipBrooks
		
		
		
		
		
		
		
		
	
			01-15-2016 06:48 AM - edited 01-15-2016 07:01 AM
There is a function in the Comparison palette called Lexical Class.
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/lexical_class/
Sorry, couldn't find a youtube video showing how to use it 
Not the simplest, but as a beginner it teaches for loop, while loop and conditional outputs.
 Abhilash_Adv
		
			Abhilash_Adv
		
		
		
		
		
		
		
		
	
			09-08-2024 08:57 AM