如果不使用分割反向和聯接函數,那麼會怎麼做這樣的事情? 鑑於問題:反轉的話在一個字符串 樣品輸入:「Hello World」的 輸出樣本:「世界你好」 <script>
var newString = "";
var theString = prompt("Enter a Phrase that you would like to reverse (Ex. Hello worl
的開始刪除號碼,我有一些字符串這樣的: string1 = "123.123.This is a string some other numbers"
string2 = "1. This is a string some numbers"
string3 = "12-3-12.This is a string 123"
string4 = "123-12This is a string 1