Unityl short string intercepts long string
string changStr = "12388888456789";
string duanStr = "88888";
string[] curstr = Regex.Split(changStr, duanStr, RegexOptions.IgnoreCase);
for(int i=0;i< curstr.Length;i++)
{
Debug.Log(curstr[i]);
}
Read More:
- A repeated string is composed of two identical strings. For example, abcabc is a repeated string with length of 6, while abcba does not have a duplicate string. Given any string, please help Xiaoqiang find the longest repeated substring.
- How to wrap a long string in MATLAB
- TSLint:object access via string literals is disallowedtslint(no-string-literal)
- Java String.split () special character processing
- Split keyword in ABAP when the separator is at the beginning and end of the string
- Method of ignoring case in Python string comparison
- C++ string substr()
- Error running ‘application’: command line is too long. Short command line for application
- Java encrypts the string with MD5
- String index out of range: 100 error report details and Solutions
- Conversion between list and string array
- Finding the longest connection path of a string
- Error resolution of ‘string’ does not name a type
- C++ foundation — clear/erase/pop of string class_back
- On the intern () method of string class in Java
- Codeworks educational round 96 [reverse pair] E. string reverse
- Differences between length() size() and C strlen() of C + + string member functions
- SQL Error (3621): String or binary data would be truncated The statement has been terminated. */
- Python string prefix
- Parsing the exception of storing JSON string in cookie