16 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 798ec3aff4 UTF-8 string support in core
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-24 02:37:33 +09:00
INOUE Yasuyuki 0d055559f1 Use #nil? instead of == nil. 2015-08-22 19:57:11 +09:00
Jun Hiroe e998094297 Add String#upto 2015-01-13 16:32:30 +09:00
takahashim 1b606025ed add String#ljust into mruby-string-ext 2015-01-12 22:16:29 +09:00
Jun Hiroe 45a442a9d7 Add String#insert 2014-12-13 15:31:22 +09:00
TOMITA Masahiro 0a0afa7c6a Fix String#slice! raise TypeError or return invalid value. 2014-11-23 21:26:50 +09:00
Akito Mochizuki ec04fa7e8d Modify return value of String#slice! if idx == self.size 2014-06-19 17:34:17 +09:00
Jun Hiroe 00fa8097f9 Implement String#slice_bang 2014-06-15 21:11:54 +09:00
ksss f1e15b0236 String#clear: use String#replace to simple 2014-06-11 14:46:52 +00:00
Yukihiro "Matz" Matsumoto 896c131231 Merge pull request #2346 from suzukaze/add-string-comment2
Fix indent in String#casecmp comments
2014-06-03 15:44:13 +09:00
Jun Hiroe 85ed19ca4d Fix indent in String#casecmp comments 2014-06-02 22:03:29 +09:00
Jun Hiroe cbe73e93f7 Add comments in String#lstrip, rstrip, strip, lstring_bang, rstrip_bang and strip_bang 2014-06-02 22:00:05 +09:00
ksss 617fa70211 String#casecmp should be call to_str
when non String object sent
And should be raise TypeError
when can not responsed to `to_str`
2014-04-20 13:25:07 +09:00
Tomoyuki Sahara 120a02c15d add String#partition and String#rpartition. 2013-12-27 15:30:20 +09:00
h2so5 79e7bbc8e8 Add String#swapcase,swapcase!,concat,casecmp,start_with,end_with 2013-04-19 21:01:37 +09:00
Tomoyuki Sahara 11edea3880 add "strip" family to String. 2013-03-08 09:45:04 +09:00