AnyLang Programming Language Comparison/Appendix:PLEAC Crossref:Strings
Appearance
Strings
[edit | edit source]Introduction
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Accessing Substrings
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Establishing a Default Value
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Exchanging Values Without Using Temporary Variables
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Converting Between ASCII Characters and Values
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Processing a String One Character at a Time
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reversing a String by Word or Character
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Expanding and Compressing Tabs
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Expanding Variables in User Input
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Controlling Case
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Interpolating Functions and Expressions Within Strings
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Indenting Here Documents
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reformatting Paragraphs
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Escaping Characters
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Trimming Blanks from the Ends of a String
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Parsing Comma-Separated Data
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Soundex Matching
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Program: fixstyle
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Program: psgrep
[edit | edit source]ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |