-
Notifications
You must be signed in to change notification settings - Fork 1
Home
myaosato edited this page Jun 16, 2018
·
3 revisions
ARRP> 42
42
ARRP> 0x2A
42
ARRP> 0X2A
42
ARRP> 0o52
42
ARRP> 0O52
42
ARRP> 42.0
42
ARRP> -42
-42
ARRP> +4.2e1
42
ARRP> -42.0e0
-42
ARRP> +4200e-2
42
ARRP> "hoge"
hoge
ARRP> "\0\b\f\n\r\t\v\'\""
'"
ARRP> (from-char-code 64)
@
ARRP> (from-code-point 171581)
𩸽
ARRP> (char-at "ARRP" 3)
P
ARRP> (char-code-at "ARRP" 0)
65
ARRP> (code-point-at "𩸽食べたい" 0)
171581
ARRP> (locale-compare "ä" "z" "de")
-1
ARRP> (locale-compare "ä" "z" "sv")
1
ARRP> (str-normalize "アイウエオ" "NFKD")
アイウエオ
ARRP> (starts-with "arrp" "a")
true
ARRP> (starts-with "arrp" "a" 1)
false
ARRP> (ends-with "arrp" "p")
true
ARRP> (ends-with "arrp" "p" 3)
false
ARRP> (match "arrp" (regex "a(r+)p"))
[ 'arrp', 'rr', index: 0, input: 'arrp' ]
ARRP> (replace "lisp" "lis" "arr")
arrp
ARRP> (search "let's arrp" (regex "a(r+)p"))
6
ARRP> (match "arrp" (regex "a(r+)p"))
[ 'arrp', 'rr', index: 0, input: 'arrp' ]
ARRP> (split "arrp" "")
[ 'a', 'r', 'r', 'p' ]
ARRP> (split "cl,scheme,clojure,arrp" ",")
[ 'cl', 'scheme', 'clojure', 'arrp' ]
ARRP> (substr "arrp" 0 2)
ar
ARRP> (substr "arrp" 2)
rp
ARRP> (substring "arrp" 1 3)
rr
ARRP> (slice "arrp" 1 3)
rr
ARRP> (to-lower-case "ARRP")
arrp
ARRP> (to-upper-case "arrp")
ARRP
ARRP> (= (to-locale-lower-case "\u0130" "tr") "i")
true
ARRP> (= (to-locale-lower-case "\u0130" "en-US") "i")
false
ARRP> (to-locale-upper-case "i" "tr")
İ
ARRP> (to-locale-upper-case "i" "en-US")
I
ARRP> (+ (trim " arrp ") "|")
arrp|
ARRP> (+ (trim-left " arrp ") "|")
arrp |
ARRP> (+ (trim-right " arrp ") "|")
arrp|
ARRP> (pad-end "arr" 10 "p")
arrppppppp
ARRP> (pad-start "rrp" 10 "a")
aaaaaaarrp
ARRP> (repeat "!" 5)
!!!!!
ARRP> (length "abc")
3
ARRP> (index-of "arrp" "r")
1
ARRP> (last-index-of "arrp" "r")
2
ARRP> (concat "ar" "rp")
arrp