var arr:String = "fly人类flywwwww天天sewrsfafd人类"; // var char:RegExp = /fly/gi; var ch:RegExp = /人类/g; var str:String = ''; str = arr.replace(ch,"ch"); // str = str.replace(char, "char"); trace(str);
Powered by: 博客园 Copyright © 2024 股墓山庄庄主 Powered by .NET 9.0 on Kubernetes