<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AStrloc_prefix</id>
	<title>قالب:Strloc prefix - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AStrloc_prefix"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Strloc_prefix&amp;action=history"/>
	<updated>2026-06-05T13:07:20Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Strloc_prefix&amp;diff=74282&amp;oldid=prev</id>
		<title>عبد العزيز: بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Strloc_prefix&amp;diff=74282&amp;oldid=prev"/>
		<updated>2023-06-29T14:29:23Z</updated>

		<summary type="html">&lt;p&gt;بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--&lt;br /&gt;
-=============================================================&lt;br /&gt;
- Strloc_prefix - Get prefix up to strloc or entire string&lt;br /&gt;
-=============================================================&lt;br /&gt;
--                              (see NOTES at bottom)&lt;br /&gt;
--&amp;gt;{{#ifexpr: {{{strloc|7}}} &amp;gt; 0&lt;br /&gt;
  | {{padleft:|{{#expr:{{{strloc|7}}} }}|{{{1}}}}}&lt;br /&gt;
  | {{{1}}}&amp;lt;!--too long or strloc &amp;lt;= 0 (string not found) --&amp;gt;&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--------------------------------------------------------------&lt;br /&gt;
--NOTES&lt;br /&gt;
--&lt;br /&gt;
-- NOTE A1: This template gets the prefix of a string up to&lt;br /&gt;
--      length strloc, or the entire string when strloc &amp;lt;= 0.&lt;br /&gt;
--      It allows the location strloc to be a variable amount&lt;br /&gt;
--      such as the result of a string search, because strloc&lt;br /&gt;
--      is used twice: once to check if the entire string will&lt;br /&gt;
--      be the result, or a 2nd time to limit the length of&lt;br /&gt;
--      string extracted to length strloc. Hence, if strloc is&lt;br /&gt;
--      set by a complex search or formula, then the use of&lt;br /&gt;
--      this template will be about twice as fast as coding the&lt;br /&gt;
--      logic directly.&lt;br /&gt;
--&lt;br /&gt;
-- NOTE N2: The expansion depth of this template is 2 levels,&lt;br /&gt;
--      with 1 level for being a template, and the 2nd level&lt;br /&gt;
--      needed to check the value of length strloc.&lt;br /&gt;
--&lt;br /&gt;
--------------------------------------------------------------&lt;br /&gt;
--HISTORY:&lt;br /&gt;
--07Feb2011 Created for string-prefix copy 2x times as fast.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{{توثيق}}&lt;br /&gt;
&amp;lt;!-- Add categories &amp;amp; interwikis to /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[تصنيف:قوالب التعامل مع النصوص]]&lt;br /&gt;
[[تصنيف:Templates with minimal expansion depth]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>