Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何使用 as3 中的 split() 函数来拆分带有回车符的字符串?
这通常使用“ \n ”完成,但在这种情况下它似乎不起作用,带或不带 de 引号。
尝试像这样拆分
var yourArray:Array = YourString.split(String.fromCharCode(13));