Files
2025-07-19 19:59:04 +08:00

15 lines
710 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** Adds a given string prefix to `str`. */
export declare function addPrefix(str: string, prefix: string): string;
/** Removes a given string suffix from `str`. */
export declare function removeSuffix(str: string, suffix: string): string;
/** Adds a given string suffix to `str`. */
export declare function addSuffix(str: string, suffix: string): string;
/** Removes a given string prefix from `str`. */
export declare function removePrefix(str: string, prefix: string): string;
//# sourceMappingURL=stringUtils.d.ts.map