About Store Forum Documentation Contact



Post Reply 
Split string and App.cmdLine
Author Message
Ogniok Offline
Member

Post: #1
Split string and App.cmdLine
1. Is there any function in Esenthel to split string with delimiter?
I mean, that this function will return array:

Code:
result[0] = a
result[1] = b
result[2] = c

from string "a-b-c" with delimiter -

2. Is there any function which will return array of parameters, for example:

Params: -x -y -z

Return:
Code:
result[0] = x
result[1] = y
result[2] = z

Something like explode in php.
(This post was last modified: 05-04-2010 05:07 PM by Ogniok.)
05-04-2010 02:49 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Split string and App.cmdLine
not exactly, but you can use TextPos, Str::clip
05-04-2010 08:34 PM
Find all posts by this user Quote this message in a reply
Ogniok Offline
Member

Post: #3
RE: Split string and App.cmdLine
Ok, thanks.
05-04-2010 08:39 PM
Find all posts by this user Quote this message in a reply
Post Reply