1件ヒット
[1-1件を表示]
(0.012秒)
別のキーワード
ライブラリ
- ビルトイン (1)
検索結果
-
String
# prepend(other _ str) -> String (54325.0) -
文字列 other_str を先頭に破壊的に追加します。
文字列 other_str を先頭に破壊的に追加します。
@param other_str 追加したい文字列を指定します。
//emlist[例][ruby]{
a = "world"
a.prepend("hello ") # => "hello world"
a # => "hello world"
//}