Jump to content

substring color


Recommended Posts

Hi all,

I'm a newby when it comes to LV.

I have been using it for about 6 months now.

In our company we have an application written in LV 8.5.1 but there are some things I want to improve in the current design.

One of the things I can not figure out is how to color a specific occurrence of a substring within a large string.

To be more specific:

I have a string constant lets say: "peter, henk, harry, marc" which is one big string.

The string constant is directly connected to a indicator on the frontpanel.

I want the substring: "harry" to be the color red.

How can I do this?

thanks in advance.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.