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")
#> [1] TRUE
leftSubstringEquals("Great car", "Great")
#> [1] TRUE
leftSubstringEquals("Boring job", "Great")
#> [1] FALSE