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.
我有一个类似的 url-pattern "http://www.asdf.com/pages=1",现在我想为这个 url-pattern 操作 for 循环,直到 1547 即 ( "http://www.asdf.com/pages=1547")
"http://www.asdf.com/pages=1"
"http://www.asdf.com/pages=1547"
这可能会满足您的需要:
for $i in (1 to 10, 1547, 1548) return concat("http://www.asdf.com/pages=", $i)
for $i in (1 to 1547) return concat("http://www.asdf.com/pages=",$i)