StringImplicit

final class StringImplicit(val thisString: String) extends AnyVal

Extension methods for String. Brought into scope by the stringToImplicit method in the package object.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def --(other: String): String

Concatenates a space and then the other String.

Concatenates a space and then the other String.

def ---(other: String): String

Concaternates a newline character and then the other [String]].

Concaternates a newline character and then the other [String]].

def ----(other: String): String

Concaternates 2 newline characters and then the other [String]].

Concaternates 2 newline characters and then the other [String]].

def -/-(other: String): String

Concatenates a '/' character and then the other String. Useful for constructing directory/ folder paths on the Web, Linux and Unix

Concatenates a '/' character and then the other String. Useful for constructing directory/ folder paths on the Web, Linux and Unix

def -:-(other: String): String

Appends a colon character, a space then the operand String wit

Appends a colon character, a space then the operand String wit

def addEnqu(s2: String): String
def appendCommas(extraStrings: String*): String

Appends strings with a comma and space separator

Appends strings with a comma and space separator

def appendParenth(innerStr: String): String
def appendParenthSemis(innerStrs: String*): String
def appendSemicolons(extraStrings: String*): String

Appends extra Strings to thisString separated by " ;".

Appends extra Strings to thisString separated by " ;".

def asInt: EMon[Int]
def asType[A](implicit ev: Persist[A]): EMon[A]
def commaInts(ints: Int*): String
def dotAppend(extraStrings: String*): String
def enCurly: String

encloses string in Curly brackets

encloses string in Curly brackets

def enParenth: String

encloses string in parentheses

encloses string in parentheses

def enSquare: String

encloses string in Square brackets

encloses string in Square brackets

def enquote: String
def enquote1: String
def findBoolean: EMon[Boolean]
def findDouble: EMon[Double]
def findInt: EMon[Int]
def findIntArray: EMon[Array[Int]]
def findSettingBool(settingStr: String): EMon[Boolean]

Find setting of the given name and type Boolean, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of the given name and type Boolean, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingBoolElse(settingStr: String, elseValue: Boolean): Boolean

Find setting of the given name and type Boolean, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of the given name and type Boolean, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingDbl(settingStr: String): EMon[Double]

Find setting of the given name and type Double, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of the given name and type Double, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingDblElse(settingStr: String, elseValue: Double): Double

Find setting of the given name and type Double, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of the given name and type Double, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingElse[T](settingStr: String, elseValue: T)(implicit evidence$6: Persist[T]): T

Find setting of type T, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of type T, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingInt(settingStr: String): EMon[Int]

Find setting of type Int from this String extension method, parsing this String as RSON Statements.

Find setting of type Int from this String extension method, parsing this String as RSON Statements.

def findSettingIntElse(settingStr: String, elseValue: Int): Int

Find setting of the given name and type Int, from this String, or return the default value, extension method, parsing this String as RSON Statements.

Find setting of the given name and type Int, from this String, or return the default value, extension method, parsing this String as RSON Statements.

def findSettingT[T](settingStr: String)(implicit evidence$5: Persist[T]): EMon[T]

Find setting of type T from this String extension method, parsing this String as RSON Statements.

Find setting of type T from this String extension method, parsing this String as RSON Statements.

def findType[A](implicit evidence$1: UnShow[A]): EMon[A]

Searches for Statement of type A. Can be a value of type A or a setting of a type A.

Searches for Statement of type A. Can be a value of type A or a setting of a type A.

def findTypeDo[A](f: A => Unit)(implicit evidence$4: Persist[A]): Unit
def findTypeElse[A](elseValue: => A)(implicit evidence$2: UnShow[A]): A

Finds Statement of type A.

Finds Statement of type A.

def findTypeIndex[A](index: Int)(implicit evidence$3: Persist[A]): EMon[A]

Replaces the reserved HTML characters with their corresponding entities, in order to display XML code as text. Eg '>' is replaced by ">".

Replaces the reserved HTML characters with their corresponding entities, in order to display XML code as text. Eg '>' is replaced by ">".

def ind2: String

Prepends 2 spaces to string

Prepends 2 spaces to string

def ind4: String

Prepends 4 spaces to string

Prepends 4 spaces to string

def lengthFix(newLenIn: Int, packChar: Char): String
def nli(indent: Int): String

Concatenates a newline special character followed by spaces to this string.

Concatenates a newline special character followed by spaces to this string.

def optAppend(optionOther: Option[String]): String
def preNl(indent: Int): String

prepends a newline special character and spaces to this string

prepends a newline special character and spaces to this string

def preNl: String

Prepends a newline special character to this String

Prepends a newline special character to this String

def remove2ndDot: String

Converts this String to an immutable Array based collection of Chars.

Converts this String to an immutable Array based collection of Chars.

def toLowerWords: Array[String]
def words: Array[String]

Concrete fields

val thisString: String