Home Manual Reference Source

Function

Static Public Summary
public

code(string: *, index: number, offset: number)

public

concat(strings: *)

public

join(strings: *, sep: *)

public

mul(s: *, n: *): *

public

palindrome(s: *, i: *, j: *): boolean

public

split(string: *, sep: *, maxsplit: *): *

Static Private Summary
private

__code__(offset: *)

private

__lfill__(c: *, n: *, mul: *): *

private

__rfill__(c: *, n: *, mul: *): *

Static Public

public code(string: *, index: number, offset: number) source

Params:

NameTypeAttributeDescription
string *
index number
  • optional
  • default: 0
offset number
  • optional
  • default: 0

public concat(strings: *) source

Params:

NameTypeAttributeDescription
strings *

public join(strings: *, sep: *) source

Params:

NameTypeAttributeDescription
strings *
sep *

public mul(s: *, n: *): * source

Params:

NameTypeAttributeDescription
s *
n *

Return:

*

public palindrome(s: *, i: *, j: *): boolean source

import palindrome from '@aureooms/js-string/src/palindrome.js'

Params:

NameTypeAttributeDescription
s *
i *
j *

Return:

boolean

public split(string: *, sep: *, maxsplit: *): * source

Params:

NameTypeAttributeDescription
string *
sep *
  • optional
  • default: undefined
maxsplit *
  • optional
  • default: undefined

Return:

*

Static Private

private __code__(offset: *) source

Params:

NameTypeAttributeDescription
offset *

private __lfill__(c: *, n: *, mul: *): * source

import __lfill__ from '@aureooms/js-string/src/__lfill__.js'

Params:

NameTypeAttributeDescription
c *
n *
mul *

Return:

*

private __rfill__(c: *, n: *, mul: *): * source

import __rfill__ from '@aureooms/js-string/src/__rfill__.js'

Params:

NameTypeAttributeDescription
c *
n *
mul *

Return:

*