mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Initial mobile website check in
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>trim()</name>
|
||||
|
||||
<category>Data</category>
|
||||
|
||||
<subcategory>String Functions</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image></image>
|
||||
<code>
|
||||
String s = " Somerville MA ";
|
||||
println(s); // Prints " Somerville MA "
|
||||
String s2 = trim(s);
|
||||
println(s2); // Prints "Somerville MA"
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Removes whitespace characters from the beginning and end of a String. In addition to standard whitespace characters such as space, carriage return, and tab, this function also removes the Unicode "nbsp" character.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
trim(<c>str</c>)
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>str</label>
|
||||
<description>any String</description>
|
||||
</parameter>
|
||||
|
||||
<returns>String</returns>
|
||||
|
||||
<related>
|
||||
</related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Function</type>
|
||||
|
||||
<partof>Core</partof>
|
||||
|
||||
<level>Extended</level>
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user