1
0
mirror of https://github.com/akpaevj/executor-scripts.git synced 2024-11-28 09:33:50 +02:00
This commit is contained in:
akpaevj 2024-03-14 15:49:28 +03:00
parent 66f179772c
commit b28ec51638

View File

@ -1,9 +1,9 @@
@Global
method IndexOf(Data1: Bytes, Data2: Bytes): Number
method IndexOf(Data1: Bytes, Data2: Bytes, Data1StartIndex = 0): Number
var StartIndex = -1
var Data2Index = 0
for Data1Index = 0 to Data1.Length() - 1
for Data1Index = Data1StartIndex to Data1.Length() - 1
val Data1Char = Data1.GetRange(Data1Index, Data1Index + 1)
val Data2Char = Data2.GetRange(Data2Index, Data2Index + 1)