Commit Graph

4 Commits

Author SHA1 Message Date
Jinhongyu
14d2d747f6
add minus of start parameter support for gstr.Substr, like the substr function in PHP (#2297)
* Make the substr like the substr in PHP

Make the substr like the substr in PHP

* Update gstr_z_unit_test.go

* Update gstr_z_unit_test.go

* Make the SubStrRune like the mb_substr in PHP

Make the SubStrRune like the mb_substr in PHP

* Update gstr_z_unit_test.go

* Update gstr_z_unit_test.go

* Update gins_z_unit_view_test.go

* Update gview_z_unit_test.go
2022-11-16 10:10:59 +08:00
John Guo
2680666f52 improve gstr.WordWrap 2022-05-13 14:18:51 +08:00
John Guo
220ed74ad1 fix gstr.IsNumeric 2022-01-17 19:42:21 +08:00
John Guo
de17302ad0 fix issue in gstr.ReplaceI 2021-12-19 21:04:35 +08:00