mingyang_text 2021.11.11 → 2021.12.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/text.js +0 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mingyang_text",
3
- "version": "2021.11.11",
3
+ "version": "2021.12.28",
4
4
  "description": "MingYang Packet",
5
5
  "main": "text.js",
6
6
  "scripts": {
package/text.js CHANGED
@@ -131,35 +131,6 @@ module.exports.do_Hex_from_Plain = (args_Plain) => {
131
131
 
132
132
 
133
133
 
134
-
135
- /**
136
- * 将目标字符串截取为3段,下标0 是开始处 到 bin之间的部分(不包含bin);下标1是bin和end之间的字符串(不包含bin和end);下标2 是end 到 结束处之间的部分(不包含end);如果匹配不到返回null
137
- * @param {"目标字符串"} args_Text
138
- * @param {"开始匹配符"} args_Bin
139
- * @param {"结束匹配符"} args_End
140
- */
141
- module.exports.do_Subsection = (args_Text, args_Bin, args_End) => {
142
- let temp_Bin = args_Text.indexOf(args_Bin);
143
- if (temp_Bin > -1) {
144
- let temp_End = args_Text.indexOf(args_End, temp_Bin + args_Bin.length);
145
- if (temp_End > -1) {
146
- let temp_L = args_Text.substr(0, temp_Bin);
147
- let temp_C = args_Text.substr(temp_Bin + args_Bin.length, temp_End - temp_Bin - args_Bin.length);
148
- let temp_R = args_Text.substr(temp_End + args_End.length);
149
-
150
- return [temp_L, temp_C, temp_R];
151
- }
152
- else {
153
- return null;
154
- }
155
- }
156
- else {
157
- return null;
158
- }
159
- }
160
-
161
-
162
-
163
134
  /**
164
135
  * 【主字符串】是否以【从字符串】开头
165
136
  * @param {"主字符串"} args_Subject