KB-59001: Comparing a string inside another one.

Question:

Does Elipse SCADA have any function similar to VBScript’s InStr command (used in E3), which returns an integer specifying the occurrence’s start position of a string inside another one?

Solution:

No, Elipse SCADA has no similar methods; you will need to create a script to perform this function by using Len, Left, and Right commands. Len function will return the number of characters, and Left/Right will be used to check the desired string.

The sample application attached to this article was developed with Elipse SCADA version 2.29 Build 137.

Attachments:

Sample.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *