You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods that should be supported built-in, or which are already supported:
charAt: should already be possible with indexing
chars: add to language as .chars property (if not already)
compareTo: should be available (I'll need to check how)
concat: use + operator
contains: in operator
equals: == operator
length
substring: use range indexing for this
valueOf: already supported with casts
Methods which should be in stdlib:
compareToIgnoreCase
endsWith
equalsIgnoreCase
getBytes (we already have a function in stdlib for this, an ascii and utf-8 variant)
indexOf (all 4 overloads)
isBlank: add to stdlib as getter (.blank)
isEmpty: add to stdlib as getter (.empty)
join: add to stdlib as expansion on string[]
lastIndexOf (all 4 overloads)
repeat
replace
replaceFirst
split (both with and without limit) (having a variant with just literal strings in stdlib would be nice. but no regexes yet. maybe a regex-supporting variant can be added as Java specific)
startsWith
strip
stripLeading
stripTrailing
toLowerCase
toUpperCase
Methods that should not be in the language or in stdlib, but can still be added to Java integration:
No description provided.
The text was updated successfully, but these errors were encountered: