移文字在一個句子我周圍有電影名稱的R數據幀像這樣: Shawshank Redemption, The
Godfather II, The
Band of Brothers
我想顯示這些名稱爲: The Shawshank Redemption
The Godfather II
Band of Brothers
任何人都可以使用如何幫助檢查數據框的每一行,以查看上面逗號(如)後是否
我有這些字符串: var a = ".-. - --. .. - . .-. .. .";
var x = "";
我想替換: ".-." with "r"
"-" with "t"
"--." with "g"
".." with "i"
"." with "e"
,並存儲在變量x的值,因此新的字符串應該成爲: x = "r t g i t e r i e";
我試圖與這可