node-lib

@wtasnorg/node-lib


@wtasnorg/node-lib / trimSpaceString

Function: trimSpaceString()

trimSpaceString(s): string

Defined in: src/strings.ts:1166

TrimSpace returns a slice of the string s, with all leading and trailing white space removed, as defined by Unicode.

Parameters

s

string

Input string.

Returns

string

String with whitespace trimmed from both ends.