diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-21 08:47:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-21 08:47:03 +0000 |
commit | 774609abe936dbb153a9a45acc6349912ad49ba9 (patch) | |
tree | 5ac497a629839bd4035dfea2d82aa4a16f47f86c /array.c | |
parent | 5f2eff87f32a60b280cf78d763190278ee1e16bd (diff) | |
download | ruby-774609abe936dbb153a9a45acc6349912ad49ba9.tar.gz ruby-774609abe936dbb153a9a45acc6349912ad49ba9.tar.xz ruby-774609abe936dbb153a9a45acc6349912ad49ba9.zip |
* string.c (rb_str_startwith): a new method to check if a string
starts with given prefix.
* string.c (rb_str_endwith): the opposite of String#startwith?.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions