Copyright | (c) roki 2019 |
---|---|
License | MIT |
Maintainer | falgon53@yahoo.co.jp |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Text utilities
For Data.Text
subTextIndex :: Text -> Text -> Maybe Int Source #
subTextIndex
searches text for a substring of text and returns its starting position.
If nothing is found, Nothing
is returned.