Framework:Substring: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 22: Line 22:
Returns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument.
Returns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument.


==Beispiel==
==Example==
<span {{CoPFormel}}>SUBSTRING('@Session_JP_DimJahr_Von@',1,4)</span>
<span {{CoPFormel}}>SUBSTRING('@Session_JP_DimJahr_Von@',1,4)</span>



Latest revision as of 08:52, 24 May 2012

Function

SUBSTRING(<String>,<Start>,<Length>)

Parameter Description
String Is a character string
Start Is an integer that specifies where the substring begins.
Length Is an integer that specifies the length of the substring (the number of characters or bytes to return).

This function belongs to client-side functions.

Result

Returns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument.

Example

SUBSTRING('@Session_JP_DimJahr_Von@',1,4)