Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はRails 3とRuby 1.9.3に取り組んでいます.roを削除したいです
"[\
一部
"[\"NAS1149C0363R"
サブメソッドで作業していますが、達成できませんでしたので、助けてください。
多分これが役立つかもしれません:
"[\"NAS1149C0363R".sub(/\[\"/,'')
[\"おそらく、 ではなくを削除したいという意味です"[\。
[\"
"[\"NAS1149C0363R".delete('["')