Sidef::Types::String::String
This object is ...
var obj = String.new(...);
Inherits methods from:
* Sidef::Object::Object * Sidef::Convert::Convert
Obj % Obj -> Obj
Return the
Aliases: sprintf
Obj & Obj -> Obj
Aliases: and
Obj * Obj -> Obj
Aliases: times, multiply
Obj + Obj -> Obj
Aliases: append, concat
Obj ++ Obj -> Obj
Aliases: inc
Obj - Obj -> Obj
Aliases: subtract
Obj .. Obj -> Obj
Aliases: arr_to, array_to
Obj / Obj -> Obj
Aliases: ÷(), div, divide
Obj : Obj -> Obj
Aliases: pair_with, pairWith
Obj < Obj -> Obj
Aliases: lt
Obj << Obj -> Obj
Aliases: drop_left, dropLeft, shift_left, shiftLeft
Obj <=> Obj -> Obj
Aliases: cmp
Obj = Obj -> Obj
Aliases: ==(), eq, is, equals
Obj =~ Obj -> Obj
Aliases: match, matches
Obj > Obj -> Obj
Aliases: gt
Obj >> Obj -> Obj
Aliases: drop_right, dropRight, shift_right, shiftRight
Obj ^ Obj -> Obj
Aliases: xor
Obj ^.. Obj -> Obj
Aliases: downto, downTo
String.apply_escapes() -> Obj
Aliases: applyEscapes
String.arr_downto() -> Obj
Aliases: array_downto
String.basic_dump() -> Obj
String.begins_with() -> Obj
Aliases: beginsWith, starts_with, startsWith
String.bytes() -> Obj
String.char_at() -> Obj
Aliases: charAt
String.chars() -> Obj
String.chomp() -> Obj
String.chop() -> Obj
String.clear() -> Obj
String.count() -> Obj
String.crypt() -> Obj
String.decode() -> Obj
String.decode_utf8() -> Obj
String.die() -> Obj
String.dump() -> Obj
Aliases: inspect
String.each() -> Obj
Aliases: each_char, eachChar
String.each_line() -> Obj
Aliases: eachLine
String.encode() -> Obj
String.encode_utf8() -> Obj
String.ends_with() -> Obj
Aliases: endsWith
String.escape() -> Obj
Aliases: quotemeta
String.esub() -> Obj
String.format() -> Obj
String.frequire() -> Obj
String.ft() -> Obj
Aliases: substr, substring
String.gesub() -> Obj
String.glob() -> Obj
String.gmatch() -> Obj
Aliases: gmatches
String.graphs() -> Obj
Aliases: graphemes, to_graphemes
String.gsub() -> Obj
Aliases: gReplace
String.hex() -> Obj
String.include() -> Obj
Aliases: contains
String.index() -> Obj
Aliases: indexOf
String.insert() -> Obj
String.is_empty() -> Obj
Aliases: isEmpty
String.join() -> Obj
String.lc() -> Obj
Aliases: lower, downcase, downCase, toLowerCase
String.lcfirst() -> Obj
String.len() -> Obj
Aliases: length
String.lev() -> Obj
Aliases: leven, levenshtein
String.lines() -> Obj
String.looks_like_number() -> Obj
String.new() -> Obj
Aliases: call
String.open() -> Obj
String.open_r() -> Obj
String.ord() -> Obj
String.overlaps() -> Obj
String.pack() -> Obj
String.pop() -> Obj
String.printf() -> Obj
String.printlnf() -> Obj
String.reduce_operator() -> Obj
String.repeat() -> Obj
String.require() -> Obj
String.reverse() -> Obj
String.scan() -> Obj
String.sort() -> Obj
String.split() -> Obj
String.sprintlnf() -> Obj
String.sub() -> Obj
Aliases: replace
String.tc() -> Obj
Aliases: ucfirst, title_case, titleCase
String.tclc() -> Obj
Aliases: capitalize
String.to() -> Obj
Aliases: ...(), ..^(), upto, upTo
String.to_s() -> Obj
Aliases: to_str, to_string
String.tr() -> Obj
Aliases: translit
String.trans() -> Obj
String.trim() -> Obj
Aliases: strip
String.trim_beg() -> Obj
Aliases: trimBeg, strip_beg, stripBeg
String.trim_end() -> Obj
Aliases: trimEnd, strip_end, stripEnd
String.uc() -> Obj
Aliases: upper, upcase, upCase, toUpperCase
String.unescape() -> Obj
String.unpack() -> Obj
String.unroll_operator() -> Obj
String.warn() -> Obj
String.wc() -> Obj
Aliases: wordcase, wordCase
String.words() -> Obj
Aliases: each_word, eachWord
Obj | Obj -> Obj
Aliases: or
Obj ~ Obj -> Obj
Aliases: not
Obj ≠ Obj -> Obj
Aliases: !=(), ne
Obj ≤ Obj -> Obj
Aliases: <=, le
Obj ≥ Obj -> Obj
Aliases: >=, ge
To install Sidef, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sidef
CPAN shell
perl -MCPAN -e shell install Sidef
For more information on module installation, please visit the detailed CPAN module installation guide.