StringHelper

ldbc.connector.util.StringHelper
object StringHelper

Attributes

Source
StringHelper.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def getUniqueSavepointId[F[_] : Functor](implicit evidence$1: Functor[F], F: UUIDGen[F]): F[String]

Attributes

Source
StringHelper.scala

Does the string contain wildcard symbols ('%' or '_'). Used in DatabaseMetaData.

Does the string contain wildcard symbols ('%' or '_'). Used in DatabaseMetaData.

Value parameters

src

string

Attributes

Returns

true if src contains wildcard symbols

Source
StringHelper.scala
def indexOfIgnoreCase(startingPosition: Int, searchIn: String, searchFor: String): Int

Finds the position of a substring within a string ignoring case.

Finds the position of a substring within a string ignoring case.

Value parameters

searchFor

the array of strings to search for

searchIn

the string to search in

startingPosition

the position to start the search from

Attributes

Returns

the position where searchFor is found within searchIn starting from startingPosition.

Source
StringHelper.scala
def isCharAtPosNotEqualIgnoreCase(searchIn: String, pos: Int, firstCharOfSearchForUc: Char, firstCharOfSearchForLc: Char): Boolean

Attributes

Source
StringHelper.scala
def regionMatchesIgnoreCase(searchIn: String, startAt: Int, searchFor: String): Boolean

Determines whether or not the string 'searchIn' contains the string 'searchFor', disregarding case and starting at 'startAt'. Shorthand for a String.regionMatch(...)

Determines whether or not the string 'searchIn' contains the string 'searchFor', disregarding case and starting at 'startAt'. Shorthand for a String.regionMatch(...)

Value parameters

searchFor

the string to search for

searchIn

the string to search in

startAt

the position to start at

Attributes

Returns

whether searchIn starts with searchFor, ignoring case

Source
StringHelper.scala