Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 499 Bytes

Start.md

File metadata and controls

30 lines (19 loc) · 499 Bytes

Start

Example#1

import JStr from "@akcybex/jstr";

const result = JStr.start("world", "hello ");
console.log(result); // Outputs: 'hello world'

Example#2

import JStr from "@akcybex/jstr";

const result = JStr.start("*world", "*");

console.log(result); // Outputs: '*world'

Example#3

import JStr from "@akcybex/jstr";

const result = JStr.of("world").start("😊 ").toString();

console.log(result); // Outputs: '😊 world'