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.
从...开始
password,name,nameInHex=mystring:match("^(.-):(.-):(.-)$")
当您到达每个冒号时拆分字符串,并将它们存储各自的变量。一旦你将它们存储在一个变量中,然后让你的逻辑来处理它们
http://lua-users.org/wiki/SplitJoin