REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Returns the offset between two series positions.
Arguments:
series1 [series!]
series2 [series!]
See also:
Return the difference of the indexes for two positions within a series.
str: "abcd"
p1: next str
print offset? str p1
1
str: "abcd"
p1: next str
p2: find str "d"
print offset? p1 p2
2
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |