LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dividing String

Hi,

 

I have the string which is similar to "R2.030E05" this. I want TAB between aplhabate and numeric. 

 

One major thing about this string is, alphabate and numeric are not constant. So i am not able to use search/split string. Is there any other simple method to do this?

 

Thanks.

0 Kudos
Message 1 of 5
(2,951 Views)

If I understood correctly you want to insert a tab between the "R" and the "2" in your example, but the character(s) and number(s) will vary. The easiest way to do this is with the Match Pattern function:

 

Message 2 of 5
(2,933 Views)
Yes, You understood the problem correctly. And thanks for the solution.
0 Kudos
Message 3 of 5
(2,922 Views)

Bhandi wrote:
Yes, You understood the problem correctly. And thanks for the solution.

 

Could you please mark smercurio's post as solution. You can do this by selecting from options menu located on the top right corner of smercurio's post. This will help others in future who are looking for a solution for same kind of problem.

 

Thanks for your understanding,

Mathan

0 Kudos
Message 4 of 5
(2,883 Views)

Hi,

 

I am facing one more problem with the same type. My String is  "C-2.435E-07" or "R1.982E04" and i need to divide it so that it look like "C -2.435E-07"or  "R 1.982E04". Where my Minues sign also not constant, it also changes accoding to input. 

 

Thanks.

0 Kudos
Message 5 of 5
(2,858 Views)