| |
splitstring
Format:
splitstring ( string [, delim ] ) |
Purpose:
Splits a string into an array.
The parameters string and
delim must be strings.
If parameter delim
is not given, it defaults to ",".
Return Values:
Returns an array of strings by splitting string
at every occurrence of delim.
The delim string itself isn't contained
in the strings of the array.
Example:
input: | resulting output:
|
<? splitstring ("a,b,c")> | ([0]="a", [1]="b", [2]="c") |
<? splitstring ("1.2.3",".")> | ([0]="1", [1]="2", [2]="3") |
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
Try the AJAX Article
(in German) on www.h-e-i.de.
© 1996-2024 H.E.I. All Rights Reserved.
|