VBScript, JavaScript, C # reference notes for some functions

Source: Internet
Author: User
1. Mid
Index starts from 1
Vs JS: substring, index from 0
Vs C #: substring index from 0

2. The Chinese Characters in JS sometimes become garbled during browser interpretation, so that even if the JS Code is completely correct
JavaScript code is no longer usable after the browser interprets the garbled characters.
It's okay to dive into JS Code from Chinese on the page, and pour <SCRIPT src = "My. JS "...> </SCRIPT> my. JS contains Chinese characters, so it will take a long time for debugging. Although I have encountered it before, I have forgotten it for a long time. I will take a note here today.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.