String_

aptus.`package`.String_
final implicit class String_(val str: String) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def /(suffix: String): String
def append(suffix: String): String
def appendNewline: String
def appendTab: String
def at: String
def at(suffix: Any): String
def camelCaseToSnake: String
def capitalizeFirst: String
def colon: String
def colon(suffix: Any): String
def comma: String
def comma(suffix: Any): String
def compactJson: String
def dash: String
def dash(suffix: Any): String
def dot: String
def dot(suffix: Any): String
def equalSign: String
def equalSign(suffix: Any): String
def escapeQuotes: String
def escapeSingleQuotes: String
def extractGroup(pattern: JavaPattern): Option[String]
def extractGroup(regex: Regex): Option[String]
def extractGroups(pattern: JavaPattern): Option[Seq[String]]
def extractGroups(regex: Regex): Option[Seq[String]]
def indentAll: String
def indentAll(n: Int): String
def indentAll(n: Int, indenter: String): String
def indentLine: String
def indentLine(n: Int): String
def indentLine(n: Int, indenter: String): String
def isDigits: Boolean
def isQuoted: Boolean
def isSingleQuoted: Boolean
def isTrimmed: Boolean
def isValidInt: Boolean
def jsonArray: JsonArray
def jsonObject: JsonObject
def newline: String
def newline(suffix: Any): String
def notContains(s: CharSequence): Boolean
def padLeft(length: Int, char: Char): String
def padLeftSpaces(length: Int): String
def padLeftZeros(length: Int): String
def padRight(length: Int, char: Char): String
def padRightSpaces(length: Int): String
def parseLocalDate: LocalDate
def parseLocalDateTime: LocalDateTime
def pound: String
def pound(suffix: Any): String
def prepend(prefix: String): String
def prependNewline: String
def prependTab: String
def prettyJson: String
def quote: String
def quoteSingle: String
def readFileCsv(): List[Vector[Cell]]
def readFileLines(): List[Line]
def readFileTsv(): List[Vector[Cell]]
def readUrlLines(): Seq[Line]
def regex: Regex
def remove(guaranteedSubStr: String): String
def removeGuaranteed(guaranteedSubStr: String): String
def removeIfApplicable(potentialSubStr: String): String
def replaceGroup(regex: Regex, replacement: String): String

replaces FIRST group only

replaces FIRST group only

Attributes

def replaceGroup(regex: JavaPattern, replacement: String): String
def replaceGuaranted(from: String, to: String): String
def replaceIfApplicable(from: String, to: String): String
def sectionAllOff: String
def sectionAllOff(n: Int): String
def sectionAllOff(prefix: String): String
def semicolon: String
def semicolon(suffix: Any): String
def slash: String
def slash(suffix: Any): String
def snakeToCamelCase: String
def space: String
def space(suffix: Any): String
def splitBy(separator: String): Seq[String]
def splitBy(separator: String, n: Int): Seq[String]
def splitBy(regex: JavaPattern): Seq[String]
def splitBy(regex: Regex): Seq[String]
def splitCommas: List[Cell]
def splitTabs: List[Cell]
def splitUntil(char: Char, maxNumberOfElements: Int): Seq[String]
def splitXsv(sep: Char): List[Cell]

handles quoting/escaping via common-csv

handles quoting/escaping via common-csv

Attributes

def streamFileCsv1(): (Iterator[Vector[Cell]], Closeable)
def streamFileCsv2(): CloseabledIterator[Vector[Cell]]
def streamFileLines1(): (Iterator[Line], Closeable)
def streamFileLines2(): CloseabledIterator[Line]
def streamFileTsv1(): (Iterator[Vector[Cell]], Closeable)
def streamFileTsv2(): CloseabledIterator[Vector[Cell]]
def stripPrefixGuaranteed(guaranteedSubStr: String): String
def stripPrefixIfApplicable(potentialSubStr: String): String
def stripSuffixGuaranteed(guaranteedSubStr: String): String
def stripSuffixIfApplicable(potentialSubStr: String): String
def stripTrailingZeros: String
def surroundWith(boundary: String): String
def surroundWith(prefix: String, suffix: String): String
def swp: String
def swpp: String
def symbol: Symbol
def sys(): String
def systemCall(): String
def systemCallLines(): Seq[String]
def systemCallViaScript(): String

convenient if using bash expansion characters for instance

convenient if using bash expansion characters for instance

Attributes

def tab: String
def tab(suffix: Any): String
def toBase64: String
def toHexString: String
def trimLines: String
def unBase64: Array[Byte]
def unHex: Array[Byte]
def uncapitalizeFirst: String
def underscore: String
def underscore(suffix: Any): String
def unquote: String
def writeFileContent(path: String): FilePath

Deprecated methods

def streamFileCsv(): (Iterator[Vector[Cell]], Closeable)

Attributes

Deprecated
true
def streamFileLines(): (Iterator[Line], Closeable)

Attributes

Deprecated
true
def streamFileTsv(): (Iterator[Vector[Cell]], Closeable)

Attributes

Deprecated
true

Concrete fields

val str: String