Baanboard.com

Go Back   Baanboard.com > Blogs > adapalak's blog

User login

Frontpage Sponsor

Main

Poll
When will you move your ERP to the cloud?
We are on the cloud already!
25%
Next year
8%
from 2-3 years
5%
from 4-5 years
18%
Never!
45%
Total votes: 40

Baanboard at LinkedIn


Reference Content

 
split string to multiple string
By adapalak at 11 Feb 2017 - 18:07

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.

 

 

0
No votes yet

by bdittmar on February 11, 2017 - 7:51pm
bdittmar's picture
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 07:30.


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