Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



google/appengine/util/string_util.php

Table of Contents
Copyright 2007 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

\google\appengine\util\StringUtil

Package: Default

Methods

method public base64UrlDecode (string $input) : string
static

Parameters
Name Type Description
$input string

The url safe Base64 encoded string.

Returns
Type Description
string The original string which may not be url safe.
method public base64UrlEncode (string $input) : string
static

Parameters
Name Type Description
$input string

The string which may not be url safe.

Returns
Type Description
string A Base64 encoded url safe string.
method public endsWith (string $input, string $suffix) : boolean
static

Return true if the first paramater contains the second parameter at the end.

Parameters
Name Type Description
$input string

The input string which may contain the suffix.

$suffix string

The string to look for at the end of the input.

Returns
Type Description
boolean <code>true</code> iff the input contains the suffix at the end.
method public startsWith (string $input, string $prefix) : boolean
static

Parameters
Name Type Description
$input string

The string which may contain the prefix at the start.

$prefix string

The string to look for at the start of the input.

Returns
Type Description
boolean <code>true</code> iff the input contains the prefix at the start.
Documentation was generated by phpDocumentor 2.0.0a12 .