<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Удаление пробелов в тексте]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11706&amp;type=atom" />
	<updated>2016-06-16T10:32:45Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11706</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105293#p105293" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>RegExReplace(newtext , &quot;[\s]+&quot;)</code></pre></div><p>Тут [] без надобности.<br />И \s уберет также все переносы строк и tab.<br />Правильней так:<br /></p><div class="codebox"><pre><code>RegExReplace(newtext , &quot; +&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-06-16T10:32:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105293#p105293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105250#p105250" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>newtext := &quot;Это пример нашего текста&quot;
RegExReplace(newtext , &quot;[\s]+&quot;)</code></pre></div><p>На выходе получается:<br /></p><div class="codebox"><pre><code>Этопримернашеготекста</code></pre></div>]]></content>
			<author>
				<name><![CDATA[tsarsky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33686</uri>
			</author>
			<updated>2016-06-15T17:52:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105250#p105250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105152#p105152" />
			<content type="html"><![CDATA[<p>Недокументированные возможности - сегодня они есть, завтра их уберут.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-06-12T05:58:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105152#p105152</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105127#p105127" />
			<content type="html"><![CDATA[<p>А как быть в таком случае?<br /></p><div class="codebox"><pre><code>Test := &quot;В лесу трава&quot;
IfInString, test, ` ,
   msgbox Flasher space found
IfInString, test, %A_Space%
   msgbox Malcev space found</code></pre></div><p>Хотя вот так можно:<br /></p><div class="codebox"><pre><code>Test := &quot;В лесу трава&quot;
IfInString, test, ` `
   msgbox Flasher space found
IfInString, test, %A_Space%
   msgbox Malcev space found</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-06-11T12:14:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105127#p105127</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105125#p105125" />
			<content type="html"><![CDATA[<p>Назвали и ладно. Я не в обиде. Каждый может ошибаться. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /> Вредный - это нормально. Я, видимо, такой люблю (у меня такого много). Мне важнее сократить. А вопросы тут никого не пугают. Код в две строчки - не повод растягивать демагогию. Спросил - ответили.</p><p>&quot;На мой взгляд&quot; -&nbsp; у меня несколько иные взгляды. Я чуть дальше от ортодокса. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-11T12:11:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105125#p105125</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105124#p105124" />
			<content type="html"><![CDATA[<p>Вот из-за этих условий, что так будет работать, а так не будет.<br />Что в конце обязательно должна быть запятая, хотя в справке опять же нигде такого не указано, я и назвал ваш код в принципе не верным. Даже вредным.<br />На мой взгляд, если бы вопрос был - придумайте всевозможные способы удаления пробела, тогда он бы имел бы место быть.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-06-11T12:06:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105124#p105124</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105122#p105122" />
			<content type="html"><![CDATA[<p>1-й аргумент меня не убеждает. &quot;Тыщу&quot; раз сталкивался. 2-й - в мою пользу.<br />Так не будет, ибо этот код <span class="bbu">без запятой</span> уже неверен. Второй пример:<br /></p><div class="codebox"><pre><code>Test := &quot;В лесу трава&quot;
StringReplace Test, Test,В` лесу` ,
MsgBox % Test</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-11T11:59:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105122#p105122</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105120#p105120" />
			<content type="html"><![CDATA[<p>Приведу 2 аргумента.<br />1) В справке нигде не указано, что пробел так должен экранироваться.<br />2) Это частный случай работоспособности кода.<br />Так уже работать не будет:<br /></p><div class="codebox"><pre><code>Test := &quot;В лесу трава&quot;
StringReplace Test, Test, ` 
MsgBox % Test</code></pre></div><p>То есть своим примером вы заведомо даете неверную информацию о том как экранируются пробелы в автохотки, что в дальнейшем может привести человека к новым вопросам.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-06-11T11:53:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105120#p105120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105119#p105119" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>код у Flasher в принципе не верен, хоть и работает</p></blockquote></div><p>Верный код - тот, что работает, а не тот, что написан с чьей-то точки зрения верно.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-11T11:47:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105119#p105119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105116#p105116" />
			<content type="html"><![CDATA[<p>Потому что таког сочетания нет, поэтому код у Flasher в принципе не верен, хоть и работает.<br /></p><div class="codebox"><pre><code>msgbox %A_Space%
msgbox ` </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-06-11T11:08:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105116#p105116</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105111#p105111" />
			<content type="html"><![CDATA[<p>В списке escape-последовательностей не видел такого сочетания.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-06-11T04:07:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105111#p105111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105105#p105105" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Test := &quot;В лесу трава&quot;
StringReplace Test, Test,` ,,All
MsgBox % Test</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-06-10T20:25:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105105#p105105</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Удаление пробелов в тексте]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105104#p105104" />
			<content type="html"><![CDATA[<p>Еще раз приветствую. Например, в переменной Test текст: &quot;В лесу трава&quot;. Нужно чтобы на выводе выводило: &quot;Влесутрава&quot;</p>]]></content>
			<author>
				<name><![CDATA[QWYSFGNN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33909</uri>
			</author>
			<updated>2016-06-10T20:12:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105104#p105104</id>
		</entry>
</feed>
