diff options
Diffstat (limited to 'sample/split.rb')
-rw-r--r-- | sample/split.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sample/split.rb b/sample/split.rb deleted file mode 100644 index 2b6f3921ce..0000000000 --- a/sample/split.rb +++ /dev/null @@ -1,13 +0,0 @@ -# split test -print("1 byte string", "\n") -print("1 byte string".reverse, "\n") - -print("全角文字列", "\n") -print("全角文字列".reverse, "\n") - -print("1 byte string", "\n") -print("1 byte string".split(//).reverse.join(":"), "\n") -print("全角文字列", "\n") -print("全角文字列".split(//).reverse.join(":"), "\n") -print("全角と1byteの混在", "\n") -print("全角と1byteの混在".split(//).reverse.join(":"), "\n") |