From 9526a6ed03c8fba132cca04906f91d25a62e6f54 Mon Sep 17 00:00:00 2001 From: Gabriel Hoverman Date: Wed, 20 Feb 2019 11:40:18 -0500 Subject: [PATCH] Added PHP Substring Function to Guide. (#33826) * Added PHP Substring Function to Guide. * Added PHP Substring Function to Guide. * Fixed typo --- guide/english/php/substring/index.md | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 guide/english/php/substring/index.md diff --git a/guide/english/php/substring/index.md b/guide/english/php/substring/index.md new file mode 100644 index 0000000000..a0d1a0abc7 --- /dev/null +++ b/guide/english/php/substring/index.md @@ -0,0 +1,44 @@ +--- +title: subtring +--- + +## Substring Function in PHP + +The Substring function in PHP returns a portion of the string, specified by two parameters, the start and the length. + + +## Syntax + +The substring function is used like any other function in php, and uses the subtr() syntax. + + +``` +