Baanboard.com

Baanboard.com (http://www.baanboard.com/baanboard/index.php)
-   Blogs and Web links (http://www.baanboard.com/baanboard/forumdisplay.php?f=80)
-   -   split string to multiple string (http://www.baanboard.com/baanboard/showthread.php?t=69753)

adapalak 11th February 2017 19:07

split string to multiple string
 
A new blog entry has been added:

split string to multiple string

Quote:

Hi

I am having a string with lenth 800 char but i want to split the string 200 chars and store each 200 chars to diffrent varaibales
i.e i wil retrive a string with lenth 800 chars and loaded in to a variable of length 800 then i want to split string with length 200 chars and then store in to diffrent variables .

Please help me to find a solution.

bdittmar 11th February 2017 20:51

string 800 = 4x200 char
 
Hello,

e.g.

string800 has 800 characters

split in 4 strings with 200 characters:

string1 = string800(1;200)
string2 = string800(201;200)
string3 = string800(401;200)
string4 = string800(601;200)

Regards


All times are GMT +2. The time now is 14:51.


vB.Sponsors
©2001-2017 - Baanboard.com - Baanforums.com