Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track this. It's been sitting around for too long.
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Mostly copied from Python so far. Also see [this survey][survey]. | ||
|
||
alnum? | ||
alpha? | ||
capitalize | ||
center width fillchar=" " | ||
count sub start=0 end=len | ||
decimal? | ||
digit? | ||
encode | ||
ends-with suffix start=0 end=len | ||
expand-tabs tabsize=8 | ||
find sub start=0 end=len | ||
format format-string . args **kwargs | ||
identifier? | ||
index sub start=0 end=len | ||
join seq | ||
length # in characters | ||
ljust width fillchar=" " | ||
lower | ||
lower? | ||
lstrip chars=" \n" | ||
numeric? | ||
partition sep | ||
printable? | ||
replace old new count=nil | ||
rfind sub start=0 end=len | ||
rindex sub start=0 end=len | ||
rjust width fillchar=" " | ||
rpartition sep | ||
rsplit sep=nil maxsplit=nil | ||
rstrip chars=" \n" | ||
size # in bytes | ||
space? | ||
split sep=nil maxsplit=nil | ||
splitlines keepends=false | ||
startswith prefix start=0 end=len | ||
strip chars=nil | ||
swapcase | ||
title | ||
title? | ||
upper | ||
upper? | ||
width # in columns | ||
zfill width | ||
|
||
[survey]: | ||
http://merd.sourceforge.net/pixel/language-study/syntax-across-languages/Strng.html |