String And Regular Expression Language Reference Page 3

ADVERTISEMENT

String & Regular Expression Language Reference
PHP
Ruby
Javascript
Python
Java
more on
Multiline string literals
/…/g or RegExp(…, "g")
String literals:
include heredocs (like
u prefix for Unicode
for a regexp that does
literals
double-quoted strings):
global matching
strings (Python 2)
r prefix for raw
$s = <<<EOF
strings (backslashes
EOF;
as literals)
PHP5 also has nowdocs
triple-quoted strings
(like single-quoted strings):
(surrounded by ''')
$s = <<<'EOF'
can span multiple
lines
EOF;
The heredoc/nowdoc
terminator must not be
indented.
other
s.islower()
s.isnumeric()
s.isdigit()
s.isalpha()
s.isalnum()
s.isspace()
s.isupper()
;
Compiled by Nathan Schneider ▫
nathan.cl
Last updated 13 May 2011

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 3