esd
Test the first 3 chars in a looong string (efficiently)
If I store a long string in a variable and need to test if the string would begin with the letters abc, what would be the most efficient way to test this?[详细]
2022-12-16 18:29 分类:问答
If I store a long string in a variable and need to test if the string would begin with the letters abc, what would be the most efficient way to test this?[详细]