LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stripping strings

Solved!
Go to solution

I have a Hex value of 3DA and want to get rid of the 3 i have tried to convert it in a U8 that didnt work, anyone had any ideas as to how i can do this.???

 

Thanks in advance

 

Thomas

0 Kudos
Message 1 of 6
(2,776 Views)

Please clarify.  From a programming standpoint, do you always want to strip the first nibble or do you want to strip out the first "3"?  Do you have a hex string or a string displayed as hex?

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 6
(2,770 Views)
Solution
Accepted by topic author thomasd6

There are many more ways, here are some I can think of:

string subset.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 3 of 6
(2,767 Views)

yes i would want to strip the 1st nibble,

0 Kudos
Message 4 of 6
(2,765 Views)

As aCe suggested:

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 5 of 6
(2,762 Views)

Thanks Ace for the examples found them very useful.

0 Kudos
Message 6 of 6
(2,761 Views)