Module: CSKitStrongs::Splitters::Utilities

Included in:
ConcordanceSplitter, GreekLexiconSplitter, HebrewLexiconSplitter
Defined in:
lib/cskit-strongs/splitters/utilities.rb

Instance Method Summary collapse

Instance Method Details

#strip_zeroes(str) ⇒ Object



7
8
9
# File 'lib/cskit-strongs/splitters/utilities.rb', line 7

def strip_zeroes(str)
  str.match(/([hg]?)0*(\d+)/).captures.join
end