Packages

c

ostrat

StringImplicit

final class StringImplicit extends AnyVal

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringImplicit
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StringImplicit(thisString: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def --(other: String): String

    Concatenates a space and then the other String.

  4. def ---(other: String): String

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

  5. def ----(other: String): String

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

  6. def -/-(other: String): String

    Concatenates a '/' character and then the other String.

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

  7. def -:-(other: String): String
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  9. def addEnqu(s2: String): String
  10. def appendCommas(extraStrings: String*): String

    Appends strings with a comma and space seperator

  11. def appendParenthSemis(innerStrs: String*): String
  12. def appendSemicolons(extraStrings: String*): String

    Appends extra Strings to thisString separated by " ;".

  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def asInt: EMon[Int]
  15. def asType[A](implicit ev: Persist[A]): EMon[A]
  16. def commaInts(ints: Int*): String
  17. def dotAppend(extraStrings: String*): String
  18. def enCurly: String

    encloses string in Curly brackets

  19. def enParenth: String

    encloses string in parentheses

  20. def enSquare: String

    encloses string in Square brackets

  21. def enquote: String
  22. def enquote1: String
  23. def findBoolean: EMon[Boolean]
  24. def findBooleanSett(settingStr: String): EMon[Boolean]
  25. def findBooleanSettElse(settingStr: String, elseValue: Boolean): Boolean
  26. def findDouble: EMon[Double]
  27. def findDoubleSett(settingStr: String): EMon[Double]
  28. def findDoubleSettElse(settingStr: String, elseValue: Double): Double
  29. def findInt: EMon[Int]
  30. def findIntArray: EMon[Array[Int]]
  31. def findIntSett(settingStr: String): EMon[Int]
  32. def findIntSettElse(settingStr: String, elseValue: Int): Int
  33. def findSett[A](settingStr: String)(implicit arg0: Persist[A]): EMon[A]
  34. def findSettElse[A](settingStr: String, elseValue: A)(implicit arg0: Persist[A]): A
  35. def findType[A](implicit arg0: Persist[A]): EMon[A]

    Searches for Statement of type A.

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

  36. def findTypeDo[A](f: (A) => Unit)(implicit arg0: Persist[A]): Unit
  37. def findTypeElse[A](elseValue: => A)(implicit arg0: Persist[A]): A

    Finds Statement of type A.

  38. def findTypeIndex[A](index: Int)(implicit arg0: Persist[A]): EMon[A]
  39. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  40. def htmlReservedSubstitute: String

    Replaces the reserved HTML characters with their corresponding entities, in order to display XML code as text.

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

  41. def ind2: String

    Prepends 2 spaces to string

  42. def ind4: String

    Prepends 4 spaces to string

  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def lengthFix(newLenIn: Int = 3, packChar: Char = ' '): String
  45. def nli(indent: Int): String

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

  46. def optAppend(optionOther: Option[String]): String
  47. def parseStatements: ERefs[Statement]
  48. def parseTokens: ERefs[Token]
  49. def preNl: String

    Prepends a newline special character to this String

  50. def preNl(indent: Int): String

    prepends a newline special character and spaces to this string

  51. def prependIndefiniteArticle: String
  52. def remove2ndDot: String
  53. val thisString: String
  54. def toChars: Chars

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

  55. def toLowerWords: Array[String]
  56. def toString(): String
    Definition Classes
    Any
  57. def toTokens: EMon[Arr[Token]]
  58. def words: Array[String]

Inherited from AnyVal

Inherited from Any

Ungrouped