<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>字符串 _ 扒房网</title>
	<atom:link href="https://www.gxjlyf.com/tag/%e5%ad%97%e7%ac%a6%e4%b8%b2/feed" rel="self" type="application/rss+xml" />
	<link>https://www.gxjlyf.com</link>
	<description>手机系统教程_手机软件教程_手机app使用教程_电脑软件教程_电脑系统教程</description>
	<lastBuildDate>Wed, 30 Nov 2022 04:25:56 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>小编分享js怎么截取字符串（js怎么截取字符串最后一位）</title>
		<link>https://www.gxjlyf.com/875648.html</link>
		
		<dc:creator><![CDATA[bafang18]]></dc:creator>
		<pubDate>Wed, 30 Nov 2022 04:25:56 +0000</pubDate>
				<category><![CDATA[PC教程]]></category>
		<category><![CDATA[字符]]></category>
		<category><![CDATA[字符串]]></category>
		<guid isPermaLink="false">https://www.chuwenyu.com/875648.html</guid>

					<description><![CDATA[js怎么截取字符串？如果需要在js中截取字符串，可以使用String类提供的方法，如subsring、inde ...]]></description>
										<content:encoded><![CDATA[<p>js怎么截取字符串？如果需要在js中截取字符串，可以使用String类提供的方法，如subsring、indexOf等等。本文就以这两种函数为例，为大家介绍js中截图字符串的方法，具体为取字符串的三个函数：slice(start,[end]),substring(start,[end])和substr(start,[length]) 相关属性和使用区别。</p>
<p><img decoding="async" alt="js怎么截取字符串？使用subsring、indexOf截取字符串的方法" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221130042554-6386db527dd02.jpg" /></p>
<p><strong>js怎么截取字符串？</strong></p>
<p>使用 substring()或者slice()</p>
<p><strong>1、函数：split()</strong></p>
<p>功能：使用一个指定的分隔符把一个字符串分割存储到数组。</p>
<p>例子：</p>
<p>str=&quot;jpg|bmp|gif|ico|png&quot;;</p>
<p>arr=theString.split(&quot;|&quot;);</p>
<p>//arr是一个包含字符值&rdquo;jpg&rdquo;、&rdquo;bmp&rdquo;、&rdquo;gif&rdquo;、&rdquo;ico&rdquo;和&rdquo;png&rdquo;的数组。</p>
<p><strong>2、函数：Join()</strong></p>
<p>功能：使用您选择的分隔符将一个数组合并为一个字符串。</p>
<p>例子：</p>
<p>01var delimitedString=myArray.join(delimiter);02var myList=new Array(&quot;jpg&quot;,&quot;bmp&quot;,&quot;gif&quot;,&quot;ico&quot;,&quot;png&quot;);03var portableList=myList.join(&quot;|&quot;);04//结果是jpg|bmp|gif|ico|png复制代码var delimitedString=myArray.join(delimiter);var myList=new Array(&quot;jpg&quot;,&quot;bmp&quot;,&quot;gif&quot;,&quot;ico&quot;,&quot;png&quot;);var portableList=myList.join(&quot;|&quot;);//结果是jpg|bmp|gif|ico|png</p>
<p><strong>3、函数：substring()</strong></p>
<p>功能：字符串截取，比如想从&ldquo;MinidxSearchEngine&rdquo;中得到&rdquo;Minidx&rdquo;就要用到substring(0,6) 。</p>
<p><strong>4、函数：indexOf()</strong></p>
<p>功能：返回字符串中匹配子串的第一个字符的下标.</p>
<p>01var myString=&quot;JavaScript&quot;;02var w=myString.indexOf(&quot;v&quot;);w will be 203var x=myString.indexOf(&quot;S&quot;);x will be 404var y=myString.indexOf(&quot;Script&quot;);y will also be 405var z=myString.indexOf(&quot;key&quot;);z will be -1复制代码var myString=&quot;JavaScript&quot;;var w=myString.indexOf(&quot;v&quot;);w will be 2var x=myString.indexOf(&quot;S&quot;);x will be 4var y=myString.indexOf(&quot;Script&quot;);y will also be 4var z=myString.indexOf(&quot;key&quot;);z will be -1</p>
<p>续：</p>
<p><strong>1、substring 方法</strong></p>
<p>定义和用法</p>
<p>substring 方法用于提取字符串中介于两个指定下标之间的字符。</p>
<p>语法</p>
<p>stringObject.substring(start,stop)</p>
<p>参数 描述</p>
<p>start 必需。一个非负的整数，规定要提取的子串的第一个字符在 stringObject 中的位置。</p>
<p>stop 可选。一个非负的整数，比要提取的子串的最后一个字符在 stringObject 中的位置多 1。如果省略该参数，那么返回的子串会一直到字符串的结尾。</p>
<p>返回值</p>
<p>一个新的字符串，该字符串值包含 stringObject 的一个子字符串，其内容是从 start 处到 stop-1 处的所有字符，其长度为 stop 减 start。</p>
<p>说明</p>
<p>substring 方法返回的子串包括 start 处的字符，但不包括 end 处的字符。</p>
<p>如果 start 与 end 相等，那么该方法返回的就是一个空串（即长度为 0 的字符串）。</p>
<p>如果 start 比 end 大，那么该方法在提取子串之前会先交换这两个参数。</p>
<p>如果 start 或 end 为负数，那么它将被替换为 0。</p>
<p><strong>2、substr 方法</strong></p>
<p>定义和用法</p>
<p>substr 方法用于返回一个从指定位置开始的指定长度的子字符串。</p>
<p>语法</p>
<p>01stringObject.substr(start [, length ])复制代码stringObject.substr(start [, length ])</p>
<p>参数 描述</p>
<p>start 必需。所需的子字符串的起始位置。字符串中的第一个字符的索引为 0。</p>
<p>length 可选。在返回的子字符串中应包括的字符个数。</p>
<p>说明</p>
<p>如果 length 为 0 或负数，将返回一个空字符串。</p>
<p>如果没有指定该参数，则子字符串将延续到stringObject的最后。</p>
<p>举例：</p>
<p>01var str = &quot;0123456789&quot;;02alert(str.substring(0));------------&quot;0123456789&quot;03alert(str.substring(5));------------&quot;56789&quot;04alert(str.substring(10));-----------&quot;&quot;05alert(str.substring(12));-----------&quot;&quot;06alert(str.substring(-5));-----------&quot;0123456789&quot;07alert(str.substring(-10));----------&quot;0123456789&quot;08alert(str.substring(-12));----------&quot;0123456789&quot;09alert(str.substring(0,5));----------&quot;01234&quot;10alert(str.substring(0,10));---------&quot;0123456789&quot;11alert(str.substring(0,12));---------&quot;0123456789&quot;12alert(str.substring(2,0));----------&quot;01&quot;13alert(str.substring(2,2));----------&quot;&quot;14alert(str.substring(2,5));----------&quot;234&quot;15alert(str.substring(2,12));---------&quot;23456789&quot;16alert(str.substring(2,-2));---------&quot;01&quot;17alert(str.substring(-1,5));---------&quot;01234&quot;18alert(str.substring(-1,-5));--------&quot;&quot;19alert(str.substr(0));---------------&quot;0123456789&quot;20alert(str.substr(5));---------------&quot;56789&quot;21alert(str.substr(10));--------------&quot;&quot;22alert(str.substr(12));--------------&quot;&quot;23alert(str.substr(-5));--------------&quot;0123456789&quot;24alert(str.substr(-10));-------------&quot;0123456789&quot;25alert(str.substr(-12));-------------&quot;0123456789&quot;26alert(str.substr(0,5));-------------&quot;01234&quot;27alert(str.substr(0,10));------------&quot;0123456789&quot;28alert(str.substr(0,12));------------&quot;0123456789&quot;29alert(str.substr(2,0));-------------&quot;&quot;30alert(str.substr(2,2));-------------&quot;23&quot;31alert(str.substr(2,5));-------------&quot;23456&quot;32alert(str.substr(2,12));------------&quot;23456789&quot;33alert(str.substr(2,-2));------------&quot;&quot;34alert(str.substr(-1,5));------------&quot;01234&quot;35alert(str.substr(-1,-5));-----------&quot;&quot;复制代码var str = &quot;0123456789&quot;;alert(str.substring(0));------------&quot;0123456789&quot;alert(str.substring(5));------------&quot;56789&quot;alert(str.substring(10));-----------&quot;&quot;alert(str.substring(12));-----------&quot;&quot;alert(str.substring(-5));-----------&quot;0123456789&quot;alert(str.substring(-10));----------&quot;0123456789&quot;alert(str.substring(-12));----------&quot;0123456789&quot;alert(str.substring(0,5));----------&quot;01234&quot;alert(str.substring(0,10));---------&quot;0123456789&quot;alert(str.substring(0,12));---------&quot;0123456789&quot;alert(str.substring(2,0));----------&quot;01&quot;alert(str.substring(2,2));----------&quot;&quot;alert(str.substring(2,5));----------&quot;234&quot;alert(str.substring(2,12));---------&quot;23456789&quot;alert(str.substring(2,-2));---------&quot;01&quot;alert(str.substring(-1,5));---------&quot;01234&quot;alert(str.substring(-1,-5));--------&quot;&quot;alert(str.substr(0));---------------&quot;0123456789&quot;alert(str.substr(5));---------------&quot;56789&quot;alert(str.substr(10));--------------&quot;&quot;alert(str.substr(12));--------------&quot;&quot;alert(str.substr(-5));--------------&quot;0123456789&quot;alert(str.substr(-10));-------------&quot;0123456789&quot;alert(str.substr(-12));-------------&quot;0123456789&quot;alert(str.substr(0,5));-------------&quot;01234&quot;alert(str.substr(0,10));------------&quot;0123456789&quot;alert(str.substr(0,12));------------&quot;0123456789&quot;alert(str.substr(2,0));-------------&quot;&quot;alert(str.substr(2,2));-------------&quot;23&quot;alert(str.substr(2,5));-------------&quot;23456&quot;alert(str.substr(2,12));------------&quot;23456789&quot;alert(str.substr(2,-2));------------&quot;&quot;alert(str.substr(-1,5));------------&quot;01234&quot;alert(str.substr(-1,-5));-----------&quot;&quot;</p>
<p>以上方法，便是今天说说js怎么截取字符串的粗略介绍，事关三个函数：slice(start,[end]),substring(start,[end])和substr(start,[length]) 。</p>

<p><img src="https://www.gxjlyf.com/postviews/875648.png" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>小编分享Xshell怎么查找字符串</title>
		<link>https://www.gxjlyf.com/815868.html</link>
		
		<dc:creator><![CDATA[bafang18]]></dc:creator>
		<pubDate>Wed, 09 Nov 2022 05:06:27 +0000</pubDate>
				<category><![CDATA[PC教程]]></category>
		<category><![CDATA[一处]]></category>
		<category><![CDATA[字符串]]></category>
		<guid isPermaLink="false">https://www.chuwenyu.com/815868.html</guid>

					<description><![CDATA[相信熟悉编程的用户都知道，字符串是由数字、字母及下划算组成的一串字符，在编程语言中表示文本的数据类型，在Xsh ...]]></description>
										<content:encoded><![CDATA[<p>相信熟悉编程的用户都知道，字符串是由数字、字母及下划算组成的一串字符，在编程语言中表示文本的数据类型，在Xshell中我们也需要用到字符串。那么，Xshell怎么查找字符串呢？下面，我们就一起往下看看Xshell查找字符串的具体方法。</p>
<p><img decoding="async" alt="Xshell怎么查找字符串？" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221109050625-636b355184e97.jpg" /></p>
<p><strong>方法步骤</strong></p>
<p><strong>一、用关键词查找</strong></p>
<p>1、打开Xshell，在［编辑］菜单选择［查找］；</p>
<p>2、在查找对话框中输入搜索的关键词；</p>
<p><img decoding="async" alt="Xshell怎么查找字符串？" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221109050625-636b3551c2dde.jpg" /></p>
<p>3、 点击［查找下一处］即可。</p>
<p><strong>二、用正则表达式查找</strong></p>
<p>1、在［编辑］菜单选择［查找］；</p>
<p>2、在查找对话框中输入搜索的关键词；</p>
<p>3、 选择［正则表达式］；</p>
<p><img decoding="async" alt="Xshell怎么查找字符串？" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221109050626-636b35520f82c.jpg" /></p>
<p>4、点击［查找下一处］即可。</p>

<p><img src="https://www.gxjlyf.com/postviews/815868.png" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>小编分享使用Excel如何快速拆分字符串</title>
		<link>https://www.gxjlyf.com/797011.html</link>
		
		<dc:creator><![CDATA[bafang18]]></dc:creator>
		<pubDate>Wed, 02 Nov 2022 17:35:00 +0000</pubDate>
				<category><![CDATA[PC教程]]></category>
		<category><![CDATA[字符串]]></category>
		<category><![CDATA[组合]]></category>
		<guid isPermaLink="false">https://www.chuwenyu.com/797011.html</guid>

					<description><![CDATA[我们在使用Excel表格处理个人信息数据的时候，可能会遇到类似于名字加电话，也就是汉子加数字的组合，为了更好的 ...]]></description>
										<content:encoded><![CDATA[<p>我们在使用Excel表格处理个人信息数据的时候，可能会遇到类似于名字加电话，也就是汉子加数字的组合，为了更好的归类数据同时也方便查看，我们通常会将这串组合数据拆分开，那么如何操作才能拆分数字加汉字的组合字符串呢？想下面让我们一起学习一下吧。</p>
<p><strong>拆分数字加汉字的方法：</strong></p>
<p>首先打开一个Excel表格：</p>
<p><img decoding="async" alt="使用Excel如何快速拆分字符串" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221102173459-6362aa4348ed1.jpg" /></p>
<p>这里我们要用到一个插件，那就是&ldquo;方方格子&rdquo;，如果没有插件的话，可以网上自行下载，&ldquo;方方格子&rdquo;与WPS完美兼容。点击工具栏上的【方方格子】，选择下方的【更多】，最后点击【分列】：</p>
<p><img decoding="async" alt="使用Excel如何快速拆分字符串" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221102173459-6362aa435c699.jpg" /></p>
<p>在弹出的对话框中，勾选【按字符类型分割】，再点击【开始拆分】：</p>
<p><img decoding="async" alt="使用Excel如何快速拆分字符串" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221102173459-6362aa436d35f.jpg" /></p>
<p>接着我们选择需要分割到的单元格，可以只选择第一个：</p>
<p><img decoding="async" alt="使用Excel如何快速拆分字符串" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221102173459-6362aa437d211.jpg" /></p>
<p>最后我们看到不同的字符串组合已经完成快速拆分：</p>
<p><img decoding="async" alt="使用Excel如何快速拆分字符串" src="https://dz.cwhello.com/wp-content/uploads/2022/11/20221102173459-6362aa438d33e.jpg" /></p>
<p>以上就是Excel表格技巧中今天说说Excel中如何快速拆分数字加汉字的组合字符串的技巧，是不是觉得很简单？你们学会了么？</p>

<p><img src="https://www.gxjlyf.com/postviews/797011.png" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>我来教你如何让Win10编程自己定制的系统</title>
		<link>https://www.gxjlyf.com/786025.html</link>
		
		<dc:creator><![CDATA[bafang18]]></dc:creator>
		<pubDate>Sat, 29 Oct 2022 06:45:36 +0000</pubDate>
				<category><![CDATA[PC教程]]></category>
		<category><![CDATA[字符串]]></category>
		<category><![CDATA[系统]]></category>
		<guid isPermaLink="false">https://www.chuwenyu.com/786025.html</guid>

					<description><![CDATA[如何让Win10编程自己定制的系统？相信许多用户都在使用着微软Win10的电脑，这款操作系统可以说是当前用户最 ...]]></description>
										<content:encoded><![CDATA[<p>如何让Win10编程自己定制的系统？相信许多用户都在使用着微软Win10的电脑，这款操作系统可以说是当前用户最多的操作系统了，那么我详细你肯定不知道如何定制一个属于自己的电脑操作系统，下面小编就带着大家一起看一下吧！</p>
<p><img decoding="async" alt="如何让Win10编程自己定制的系统？" src="https://dz.cwhello.com/wp-content/uploads/2022/10/20221029064534-635ccc0e222e0.png" /></p>
<p>　<strong>　操作方法：</strong></p>
<p>1、在任务栏搜索框中搜索regedit，然后单击顶部结果打开注册表编辑器。</p>
<p>2、浏览以下路径：</p>
<p>HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion</p>
<p>提示：在Windows 10上，现在可以将路径复制并粘贴到注册表的地址栏中，以快速跳转到目的地。</p>
<p>3、双击RegisteredOwner字符串，然后指定注册的所有者信息。</p>
<p><img decoding="async" alt="如何让Win10编程自己定制的系统？" src="https://dz.cwhello.com/wp-content/uploads/2022/10/20221029064534-635ccc0e8f266.png" /></p>
<p>4、双击RegisteredOrganization字符串，然后指定组织信息，例如，用户的&ldquo;家庭&rdquo;或用户的组织名称。</p>
<p><img decoding="async" alt="如何让Win10编程自己定制的系统？" src="https://dz.cwhello.com/wp-content/uploads/2022/10/20221029064535-635ccc0f06f1d.png" /></p>
<p>提示：如果找不到字符串，可能需要创建。通过右键单击CurrentVersion键，选择&ldquo;新建&rdquo;，选择&ldquo;字符串值&rdquo;选项，并分别相应地选择每个字符串&ldquo;RegisteredOwner&rdquo;和&ldquo;RegisteredOrganization&rdquo;，即可完成此操作。</p>
<p>5、重新启动计算机。</p>
<p>完成这些步骤后，使用Windows + R键盘快捷键，然后在&ldquo;运行&rdquo;命令中键入winver，单击&ldquo;确定&rdquo;按钮，修改后的信息出现在&ldquo;今天说说Windows&rdquo;页面中。</p>
<p><img decoding="async" alt="如何让Win10编程自己定制的系统？" src="https://dz.cwhello.com/wp-content/uploads/2022/10/20221029064535-635ccc0f76e8c.png" /></p>
<p>除了更改所有者和组织详细信息，还可以修改其他信息，包括带有&ldquo;DisplayVersion&rdquo;字符串的Windows 10版本，带有&ldquo;EditionID&rdquo;的版本，带有&ldquo;CurrentBuild&rdquo;和&ldquo;CurrentBuildNumber&rdquo;的内部版本号、字符串等等。</p>

<p><img src="https://www.gxjlyf.com/postviews/786025.png" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
