leftSubstringEquals: Is Left Substring of X Equal To Y?

View source: R/leftSubstringEquals.R

leftSubstringEqualsR Documentation

Is Left Substring of X Equal To Y?

Description

TODO: Simply use startsWith?

Usage

leftSubstringEquals(x, y)

Arguments

x

String of which the left part is compared with y

y

String to be compared with the left part of x

Examples

leftSubstringEquals("Great job", "Great")
leftSubstringEquals("Great car", "Great")
leftSubstringEquals("Boring job", "Great")

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.