NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
oiuuhjoi
Posts: 28
0 Kudos
Accepted Solution

hi, dear friends

i have string starts with #456 then some values and i want to remove #456 and using the other values
how can i do that?
thanks in advance

Active Participant
danil33
Posts: 651
0 Kudos

Re: hi, dear friends

Make an array containing string values.Then you can use index array function and remove the particular one from the respective index.

look at programs>>Arrays in function pallete.

 

NB:Also, please give an informative heading to your post about the content inside.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:smileyhappy:
Active Participant
Rodéric
Posts: 1,086
0 Kudos

Re: hi, dear friends

You can use the match pattern function wich would do the job just fine.

Rodéric L
Certified LabVIEW Architect
Trusted Enthusiast
aeastet
Posts: 2,198
0 Kudos

Re: hi, dear friends


oiuuhjoi wrote:

i have string starts with #456 then some values and i want to remove #456 and using the other values
how can i do that?
thanks in advance




 

If you are always going to have the #456 at the beginning or if it is always going to be four characters then you could use the string subset.

 

Example.png

Tim
Johnson Controls
Holland Michigan
Knight of NI
Posts: 18,064
0 Kudos

Re: hi, dear friends


danil33 wrote:

Make an array containing string values.Then you can use index array function and remove the particular one from the respective index.

look at programs>>Arrays in function pallete.



???????????

 

Make an array? Based on what criteria? Your suggestion makes no sense whatsoever.

 

???????????

Member
oiuuhjoi
Posts: 28
0 Kudos
Trusted Enthusiast
aeastet
Posts: 2,198
0 Kudos

Re: hi, dear friends

You are welcome.

Tim
Johnson Controls
Holland Michigan
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page