StringIndexExtension
weaponregex.extension.StringExtension$.StringIndexExtension
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Convert a pair of start and end indices into a weaponregex.model.Location in the given string.
Convert a pair of start and end indices into a weaponregex.model.Location in the given string.
Value parameters
- end
-
End index
- start
-
Start index
Attributes
- Returns
Convert an index into a weaponregex.model.Position in the given string.
Convert an index into a weaponregex.model.Position in the given string.
Value parameters
- index
-
An index
Attributes
- Returns
Convert an index of into row and column numbers in the given string.
Convert an index of into row and column numbers in the given string.
Value parameters
- index
-
An index
Attributes
- Returns
-
A tuple of row and column numbers
- Note
-
This function implementation is taken from here
In this article