gsub 是Ruby中的String類方法,用於返回給定字符串的副本,其中所有出現的pattern都替換為第二個參數。 用法: str.gsub(pattern, replacement). 參數:在這裏,str是給定的 ...
確定! 回上一頁