Use replaceAll() to replace a substring, notice that the original string was not changed (strings are immutable!): var composer = 'Johann Sebastian Bach'; ...
確定! 回上一頁