FindString
Searches for the first occurrence of a String within a String by doing a case sensitive match. If textToFind find is "", a -1 will be returned.
Return Value
Integer : Returns the zero-based index of the first occurrence of a String within a String by doing a case sensitive match.
Parameters
String stringToSearch : The String that will be scanned.
Examples
FindString("Hello", "ll")
Output
2
------------------------------
Dan Fontaine
ConvergeOne, Inc.
------------------------------
Original Message:
Sent: 03-08-2022 04:00
From: Irina Milstein
Subject: How to find character first occurrence in a string?
Hello Community,
does Architect have an analog of "indexOf" function?
I need to find the first occurrence of a specified character in a string that I receive from a custom web service.
Thanks,
Irina
#ArchitectureandDesign
------------------------------
Irina Milstein
ITNAV-Pro Ltd.
------------------------------