substring"

From Documentation
(Created page with "{{ZUMLReferencePageHeader}} <source lang="java"> BigDecimal decimal(Object value); </source> :i.e., <javadoc method="toDecimal(java.lang.Object)">org.zkoss.xel.fn.CommonFns</ja...")
 
 
Line 2: Line 2:
  
 
<source lang="java">
 
<source lang="java">
BigDecimal decimal(Object value);
+
String substring(String s, int from,  int to);
 
</source>
 
</source>
  
:i.e., <javadoc method="toDecimal(java.lang.Object)">org.zkoss.xel.fn.CommonFns</javadoc>
+
:i.e., <javadoc method="substring(java.lang.String, int, int)">org.zkoss.xel.fn.StringFns</javadoc>
  
Converts the specified object to a big decimal.
+
Returns a new string that is a substring of the given string.
  
 
'''Parameters:'''
 
'''Parameters:'''
* value - the value to convert
+
* s - the string to retrieve the substring
 +
* from - the beginning index, inclusive
 +
* to - the ending index, exclusive
  
 
=Version History=
 
=Version History=

Latest revision as of 07:56, 8 March 2011

String substring(String s, int from,  int to);
i.e., StringFns.substring(String, int, int)

Returns a new string that is a substring of the given string.

Parameters:

  • s - the string to retrieve the substring
  • from - the beginning index, inclusive
  • to - the ending index, exclusive

Version History

Last Update : 2011/03/08


Version Date Content
5.0.7 March, 2011 This method was introduced



Last Update : 2011/03/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.