Technical FAQs

Ask a Question

What is the return value of the Vijeo Designer String Method "indexOf(String arg)"?

When the string method "indexOf" finds the substring as specified by the parameter "arg", it will return the starting position. If the string method cannot find the substring, the return value is -1.

Note, the position index starts at 0. Therefore for a string TEST, position 0 is the letter T and position 1 is the letter E.
Was this helpful?
What can we do to improve the information ?