Skip to content

Commit

Permalink
Track this. It's been sitting around for too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Apr 9, 2009
1 parent 7875736 commit 3f6ce1a
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions doc/str-interface.md
@@ -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

0 comments on commit 3f6ce1a

Please sign in to comment.