download:Vue3.0 Advanced combat: Developing high-quality music Web app
Enterprises have higher and higher requirements for Vue technology, but few people master the advanced technology of Vue 3.0. This course will help you stand out in the interview by writing a real, highly realistic and complex front-end project of music player, allowing you to gain practical experience in the development of vue3.0 advanced technology. Suitable for people with more than one year of work experience front-end practitioners have a certain Vue and JS foundation, Proficient in HTML, CSS and JavaScript programming with Vue foundation and practical development experience in Vue. Experience in node.js, NPM and WebPAC IndexOf method (Char, Int32, Int32) reports the IndexOf the first match of the specified character in this instance. The search starts at the specified character position and checks the specified number of character positions. String.IndexOf(value, startIndex, count)
Example: string STR = “STR * STR “; Label1.text = str.indexof (“中 文 “).toString (); label1.text = str.indexof (“中 文 “).toString (); Label1.text = str.indexof (” base “).toString (); label1.text = str.indexof (” base “).toString (); Label1.text = str.indexof (” base “,10).toString (); label1.text = str.indexof (” base “,10).toString (); // return 21 to clarify: this is from the beginning of the 10th character. Label1.text = str.indexof (” den “,15,10).tostring (); label1.text = str.indexof (” den “,15,10).tostring (); Label1.text = str.indexof (” deng “,15,20).tostring (); // return -1 label1.text = str.indexof (” deng “,15,20).tostring (); // return -32 to clarify: search from the 15th character, the range of search is from the 15th character 20 after the beginning of the search, that is, from the 15th character 15 to 35 characters.
The string.lastIndexof string.lastIndexof method reports the index position of the specified Unicode character or the last match of a String in this instance.
Example: string STR = “STR * STR “; Label1.text = str.lastIndexof (” dw “).toString (); label1.text = str.lastIndexof (” DW “).toString (); Label1.text = str.lastIndexof (” deng “).toString (); label1.text = str.lastIndexof (” Deng “).toString (); / / return to 32
Label1.text = str.lastIndexof (” d “, 8).toString (); label1.text = str.lastIndexof (” D “, 8).toString (); Label1.text = str.lastIndexof (” deng “, 20).toString (); label1.text = str.lastIndexof (” Deng “, 20).toString (); Label1.text = str.lastIndexof (” d “, 33).toString (); Search for the last matching string position from index 0 to the specified numeric position. In this example, there is no “Deng” in 0-8, so return -1, 0-20, with a “Deng” in index 14, 0-33
The LastIndexOf returns the index position of the last matching item, so it returns 32 instead of 14.
Substring The string. Substring method retrieves a Substring from this instance. Example: string STR = “Shenzhen Yingji Industrial Co., LTD
Shenzhen Yingji Industrial Co., LTD. International tong Deng Shiwen “; Label1.Text = str.Substring(11); // Return to “International expert Deng Shiwen”
Label1.text = str.substring (11,7); label1.text = str.substring (11,7); label1.text = str.substring (11,7); // Return to “international expert Deng Shiwen *”