source: trunk/docs/api/zoo-string.txt @ 157

Last change on this file since 157 was 157, checked in by jmckenna, 13 years ago

add ZOO.String doc

File size: 1.7 KB
Line 
1.. _api-zoo-string:
2
3ZOO.String
4==========
5
6Contains convenience methods for string manipulation:
7
8Functions and Properties
9------------------------
10
11.. list-table::
12   :widths: 30 50
13   :header-rows: 1
14
15   * - NAME
16     - DESCRIPTION
17   * - :ref:`startsWith <startsWith>`
18     - Test whether a string starts with another string.
19   * - :ref:`contains <contains>`
20     - Test whether a string contains another string. 
21   * - :ref:`trim <trim>`
22     - Removes leading and trailing whitespace characters from a string.
23   * - :ref:`camelize <camelize>`
24     - Camel-case a hyphenated string.   
25   * - :ref:`tokenRegEx <tokenRegEx>`
26     - Used to find tokens in a string.     
27   * - :ref:`numberRegEx <numberRegEx>`
28     - Used to test strings as numbers.
29   * - :ref:`isNumeric <isNumeric>`
30     - Determine whether a string contains only a numeric value.
31   * - :ref:`numericIf <numericIf>`
32     - Converts a string that appears to be a numeric value into a number.       
33
34.. _startsWith:
35
36startsWith
37  Test whether a string starts with another string.
38
39.. _contains:
40
41contains       
42  Test whether a string contains another string.
43
44.. _trim:
45
46trim   
47  Removes leading and trailing whitespace characters from a string.
48
49.. _camelize:
50
51camelize       
52  Camel-case a hyphenated string.
53 
54.. _tokenRegEx: 
55 
56tokenRegEx     
57  Used to find tokens in a string.
58 
59.. _numberRegEx:   
60 
61numberRegEx     
62  Used to test strings as numbers.
63 
64.. _isNumeric: 
65 
66isNumeric       
67  Determine whether a string contains only a numeric value.
68 
69.. _numericIf: 
70
71numericIf       
72  Converts a string that appears to be a numeric value into a number.
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png