sixarm_ruby_string_replace_between
SixArm.com → Ruby → String#replace_between method to replace text between two match tokens
https://github.com/joelparkerhenderson/sixarm_ruby_string_replace_between
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.9%) to scientific vocabulary
Repository
SixArm.com → Ruby → String#replace_between method to replace text between two match tokens
Basic Info
- Host: GitHub
- Owner: joelparkerhenderson
- License: other
- Language: Ruby
- Default Branch: master
- Size: 69.3 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SixArm.com → Ruby →
String#replace_between
- Git: https://github.com/SixArm/sixarm_ruby_string_replace_between
- Doc: http://sixarm.com/sixarm_ruby_string_replace_between/doc
- Gem: https://rubygems.org/gems/sixarm_ruby_string_replace_between
- Contact: Joel Parker Henderson, joel@sixarm.com
- Project: changes, license, contributing.
Introduction
String#replace_between method to replace text in a string, between a start substring (or regexp) and stop substring (or regexp).
Install
Gem
To install this gem in your shell or terminal:
gem install sixarm_ruby_string_replace_between
Gemfile
To add this gem to your Gemfile:
gem 'sixarm_ruby_string_replace_between'
Require
To require the gem in your code:
require 'sixarm_ruby_string_replace_between'
Example
Example code:
require "sixarm_ruby_string_replace_between"
s = "Hello World"
s.replace_between("*", "Hello", "World") => "Hello*World"
Tracking
- Package: sixarmrubystringreplacebetween
- 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)
Owner
- Name: Joel Parker Henderson
- Login: joelparkerhenderson
- Kind: user
- Location: California
- Website: http://www.joelparkerhenderson.com
- Repositories: 319
- Profile: https://github.com/joelparkerhenderson
Software developer. Technology consultant. Creator of GitAlias.com, NumCommand.com, SixArm.com, and many open source projects.
Citation (CITATION.cff)
cff-version: 1.2.0
title: SixArm.com → Ruby → <br> String#replace_between
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/joelparkerhenderson/sixarm_ruby_string_replace_between/'
description: SixArm.com → Ruby → <br> String#replace_between
repository-code: 'https://github.com/joelparkerhenderson/sixarm_ruby_string_replace_between/'
abstract: >-
SixArm.com → Ruby → <br> String#replace_between
license: See license file
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 17 |
