_copy

trait _copy extends _copy[String]
trait _copy[String]
class java.lang.Object
trait scala.Matchable
class Any

Def

@scala.annotation.targetName("drop_Range")
inline def drop_<>(i: Int.<>): String
Inherited from
_copy
Source
_copy.scala
@scala.annotation.targetName("drop_Range")
inline def drop_<>(start: Int, inline size: Int): String
Inherited from
_copy
Source
_copy.scala
inline def dropFirst(inline cnt: Int): String
Inherited from
_copy
Source
_copy.scala
inline def dropLast(inline cnt: Int): String
Inherited from
_copy
Source
_copy.scala
@scala.annotation.targetName("take_Range")
inline def take_<>(r: Int.<>): String
Inherited from
_copy
Source
_copy.scala
@scala.annotation.targetName("take_Range")
inline def take_<>(start: Int, inline size: Int): String
Inherited from
_copy
Source
_copy.scala
inline def takeAfter(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy end

Copy end

Copies String from the position where the specified v found plus the length of the v

If no v found, dflt v is returned, or original if dflt is void

   "abcdefg".copyAfter("cd") tp // Prints: efg
Value Params
string

position to start looking from

Inherited from
_copy
Source
_copy.scala
inline def takeAfterLast(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy end

Copy end

Copies String from the last position the specified v found plus the length of the v

If no v found, dflt v is returned, or original if dflt is void.

   "abcd_abcd_abcd".takeFromLast("ab") tp // Prints: cd
Value Params
from

string last position to start looking from end to start

Inherited from
_copy
Source
_copy.scala
inline def takeBefore(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy start

Copy start

Copies String from the beginning until specified v found

If no v found, dflt v is returned, or original if dflt is void

   "abcdefg".takeBefore("ef") tp // Prints: abcd
Value Params
string

position to start looking from

Inherited from
_copy
Source
_copy.scala
inline def takeBeforeLast(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy start

Copy start

Copies String from the beginning until the last occurrence of specified v found

If no v found, dflt v is returned, or original if dflt is void

   "abcd_abcd_abcd".copyBeforeLast("ab") tp // Prints: abcd_abcd_
Value Params
from

string last position to start looking from end to start

Inherited from
_copy
Source
_copy.scala
inline def takeFirst(inline cnt: Int): String
Inherited from
_copy
Source
_copy.scala
inline def takeFrom(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy end

Copy end

Copies String from the position where the specified v found

If no v found, dflt v is returned, or original if dflt is void

   "abcdefg".takeFrom("cd") tp // Prints: cdefg
Value Params
string

position to start looking from

Inherited from
_copy
Source
_copy.scala
inline def takeFromLast(inline v: A | String, inline dflt: Opt[A], inline from: Int.Opt): String

Copy end

Copy end

Copies String from the last position the specified v found

If no v found, dflt v is returned, or original if dflt is void.

   "abcd_abcd_abcd".takeFromLast("ab") tp // Prints: abcd
Value Params
from

string last position to start looking from end to start

Inherited from
_copy
Source
_copy.scala
inline def takeLast(inline cnt: Int): String
Inherited from
_copy
Source
_copy.scala