<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Преобразовать список в массив]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5933&amp;type=atom" />
	<updated>2011-06-23T07:46:47Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5933</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Преобразовать список в массив]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49340#p49340" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Split(a, Chr(10), -1, 1)</code></pre></div><p>конечно же, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[netrezv]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27040</uri>
			</author>
			<updated>2011-06-23T07:46:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49340#p49340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Преобразовать список в массив]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49339#p49339" />
			<content type="html"><![CDATA[<p>Используйте для преобразования прочтённого текста в массив функцию <a href="http://msdn.microsoft.com/en-us/library/0764e5w5(v=vs.85).aspx">Split()</a>, указав в качестве разделителя «vbCrLf»/«vbCr»/«vbLf» (в зависимости от конца строк в файле).</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-06-23T07:29:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49339#p49339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Преобразовать список в массив]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49337#p49337" />
			<content type="html"><![CDATA[<p>Используйте функцию <strong><span style="color: blue">Split()</span></strong>.</p>]]></content>
			<author>
				<name><![CDATA[Dmitrii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=13351</uri>
			</author>
			<updated>2011-06-23T07:25:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49337#p49337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Преобразовать список в массив]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49336#p49336" />
			<content type="html"><![CDATA[<p>Подскажите как из списка сделать массив, чтобы в цикле можно было использовать отдельный элемент?</p><p>получаю данные: <br /></p><div class="codebox"><pre><code>Set srvXmlHttp = CreateObject(&quot;Msxml2.ServerXMLHTTP.4.0&quot;)
srvXmlHttp.Open &quot;GET&quot;, &quot;http://test.com/internet/exceed_limit&quot;, False
srvXmlHttp.send
WScript.Echo srvXmlHttp.responseText</code></pre></div><p>в файле exceed_limit списком:<br />prucenkovv<br />kiselevis<br />prokopjevvv<br />vlasovrv<br />...</p><p>Таким макаром работает:<br /></p><div class="codebox"><pre><code>a=Array(&quot;prucenkovv&quot;,&quot;kiselevis&quot;,&quot;prokopjevvv&quot;,&quot;vlasovrv&quot;)
for each x in a
If x = &quot;kiselevis&quot; Then
    wscript.Echo x
End If
Next</code></pre></div>]]></content>
			<author>
				<name><![CDATA[netrezv]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27040</uri>
			</author>
			<updated>2011-06-23T06:00:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49336#p49336</id>
		</entry>
</feed>
