mirror of
https://github.com/akpaevj/executor-scripts.git
synced 2024-11-28 09:33:50 +02:00
d
This commit is contained in:
parent
66f179772c
commit
b28ec51638
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user