Skip to content
On this page

fillValue

在字符串的指定位置填充一些值

使用

js
import { fillValue } from '@pinos-ui/utils'

代码示例

参数说明

参数名说明类型必传默认值
value指定的字符串string-
startIndex开始位置的下标number-
endIndex结束位置的下标number-
fullText要填充的值string****

类型声明

js
export declare const fillValue: (value: string, startIndex: number, endIndex: number, fullText?: string) => string