14514f5e3Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
24514f5e3Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
34514f5e3Sopenharmony_ci# you may not use this file except in compliance with the License.
44514f5e3Sopenharmony_ci# You may obtain a copy of the License at
54514f5e3Sopenharmony_ci#
64514f5e3Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
74514f5e3Sopenharmony_ci#
84514f5e3Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
94514f5e3Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
104514f5e3Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114514f5e3Sopenharmony_ci# See the License for the specific language governing permissions and
124514f5e3Sopenharmony_ci# limitations under the License.
134514f5e3Sopenharmony_ci
144514f5e3Sopenharmony_cistring replace regexp flag is g: 44
154514f5e3Sopenharmony_cistring replace regexp flag is gi :15
164514f5e3Sopenharmony_cistring replace regexp pattern is /([^d]*)(d*)([^w]*)/ : 161
174514f5e3Sopenharmony_cistring split number of input parameters is 2 : 70
184514f5e3Sopenharmony_cistring split number of input parameters is 1 : 35
194514f5e3Sopenharmony_cistring split into regexp.split : 22
204514f5e3Sopenharmony_cistring indexOf input parameter is a substring : 14
214514f5e3Sopenharmony_cistring indexOf Input parameter is not a substring : 15
224514f5e3Sopenharmony_cistring indexOf number of input parameters is 2 : 11
234514f5e3Sopenharmony_cistring slice number of input parameters is 1 : 17
244514f5e3Sopenharmony_cistring slice number of input parameters is 2 : 18
254514f5e3Sopenharmony_cistring slice input parameter is negative : 18
264514f5e3Sopenharmony_cistring substring the first parameter is less than the second parameter : 18
274514f5e3Sopenharmony_cistring substring the first parameter is greater than the second parameter : 18
284514f5e3Sopenharmony_cistring substring The first parameter is equal to the second parameter : 11
294514f5e3Sopenharmony_cistring substr the two parameters are adjacent numbers : 17
304514f5e3Sopenharmony_cistring substr negative number in parameter : 18
314514f5e3Sopenharmony_cistring substr number of input parameters is 2 : 17
324514f5e3Sopenharmony_cistring replace into string.replace searchtag in the middle of the input parameter : 59
334514f5e3Sopenharmony_cistring replace into string.replace searchtag in the beginning of the input parameter : 46
344514f5e3Sopenharmony_cistring replace into string.repalce : 55
354514f5e3Sopenharmony_cistring repeat the parameter is integer : 18
364514f5e3Sopenharmony_cistring repeat the parameter is double : 19
374514f5e3Sopenharmony_cistring repeat the return value is himself : 15
384514f5e3Sopenharmony_cistring startsWith return true : 12
394514f5e3Sopenharmony_cistring startsWith return true : 12
404514f5e3Sopenharmony_cistring startsWith return false : 12
414514f5e3Sopenharmony_cistring charCodeAt small input parameter value : 9
424514f5e3Sopenharmony_cistring charCodeAt bigger input parameter value : 10
434514f5e3Sopenharmony_cistring charCodeAt index out of range : 9
444514f5e3Sopenharmony_cistring charAt small input parameter value : 10
454514f5e3Sopenharmony_cistring charAt bigger input parameter value : 9
464514f5e3Sopenharmony_cistring charAt index out of range : 10
474514f5e3Sopenharmony_cistring toLowerCase Hello World. How are you doing? : 18
484514f5e3Sopenharmony_cistring toLowerCase The quick brown fox jumps over the lazy dog : 18
494514f5e3Sopenharmony_cistring toLowerCase Hello World : 18
504514f5e3Sopenharmony_cistring toUpperCase Hello World. How are you doing? : 16
514514f5e3Sopenharmony_cistring toUpperCase Hello World : 16
524514f5e3Sopenharmony_cistring toUpperCase The quick brown fox jumps over the lazy dog. : 18
534514f5e3Sopenharmony_cistring localeCompare letter a is before c yielding a negative value : 503
544514f5e3Sopenharmony_cistring localeCompare Alphabetically the word check after against yielding a positive value : 13
554514f5e3Sopenharmony_cistring localeCompare a and a are equivalent yielding a neutral value of zero : 7
564514f5e3Sopenharmony_ci  This is a test string to test the interface    string rim : 5
574514f5e3Sopenharmony_ci   Hello world!     string trim : 6
584514f5e3Sopenharmony_ci   This is a test string    string trim : 5
59