Skip to main content
Module

x/core_fn/string/mod.ts

A collection of built-in object method and property as currying function
Latest
import * as coreFn from "https://deno.land/x/core_fn@v1.0.0-beta.16/string/mod.ts";

Variables

Returns the character at the specified index.

Checks if a string ends with the provided substring.

Matches a string with a regular expression, and returns an array containing the results of that search.

Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.

Replaces matches for from in string or RegExp with to.

Checks if a string starts with the provided substring.

Return lowercase string.

Return uppercase string.

Removes whitespace from both ends of the string.

Removes the trailing white space and line terminator characters from a string.

Removes space from left ends of the string.

Removes space from right ends of the string.

Removes the leading white space and line terminator characters from a string.