|
[code]import console;
str =/**
1
2
abc
5
6
**/
string.save("/test.tx
源代码 [ aardio ]11 | string.save( "/test.txt" , str ) |
14 | for line in io.lines( "\test.txt" ) { |
15 | if ( string.find(line, "abc" ) ){ |
16 | console.log( "发现abc在第" ,#tab + 1, "行" ) |
24 | string.save( "/test.txt" , string.join(tab, '\r\n' ) ) |
|
评分 |