Skip to content

SixArm/sixarm_ruby_string_index_after

Repository files navigation

SixArm.com → Ruby →
String#index_after

Gem Version Build Status Code Climate

Introduction

String#index_after method to find the index position immediately after a match.

Install

Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_string_index_after

Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_string_index_after'

Require

To require the gem in your code:

require 'sixarm_ruby_string_index_after'

Example

Example code:

require "sixarm_ruby_string_index_after"

s = "Hello World"
s.index_after("o") => 5

Tracking

  • Package: sixarm_ruby_string_index_after
  • Version: 1.0.0
  • Created: 2018-02-04
  • Updated: 2018-02-06
  • License: Open source as described in the file LICENSE.md
  • Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)

About

SixArm.com → Ruby → String#index_after to find the index position after a match

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages