You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Finds the first substring match in a regular expression search.
396
+
* @param regexp The regular expression pattern and applicable flags.
397
+
*/
398
+
search(regexp: string|RegExp): number;
399
+
400
+
/**
401
+
* Returns a section of a string.
402
+
* @param start The index to the beginning of the specified portion of stringObj.
403
+
* @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.
404
+
* If this value is not specified, the substring continues to the end of stringObj.
405
+
*/
406
+
slice(start?: number,end?: number): string;
407
+
408
+
/**
409
+
* Split a string into substrings using the specified separator and return them as an array.
410
+
* @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.
411
+
* @param limit A value used to limit the number of elements returned in the array.
* Returns the substring at the specified location within a String object.
417
+
* @param start The zero-based index number indicating the beginning of the substring.
418
+
* @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.
419
+
* If end is omitted, the characters from start through the end of the original string are returned.
420
+
*/
421
+
substring(start: number,end?: number): string;
422
+
423
+
/** Converts all the alphabetic characters in a string to lowercase. */
424
+
toLowerCase(): string;
425
+
426
+
/** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */
0 commit comments