The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add a string in this case
#1
Hello.

I want to output the final result in the same structure as the source below.

Is there any way?

Macro Macro4
Code:
Copy      Help
str cell_org
int i nRows
ExcelSheet es.Init(""); nRows=es.NumRows
for i 2 nRows+1
,es.GetCell(cell_org 1 i)

,,str numlist=
,,;23144646
,,;23145713
,,;23140581
,,;23144850
,,;23145630
,,;23144847
,,;23142419
,,;23145838
,,;23145856
,,;23145854
,,;23144845
,,;23145624
,,;23145842
,,;23145622
,,;23144842
,,;23144838
,,;23145814
,,;23144837
,,;23145609
,,;23144836

,out cell_org


;=============
;I want result value
;=============
str Reseult=
,;23144646 Apple
,;23145713 Apple
,;23140581 Apple
,;23144850 Apple
,;23145630 Apple
,;23144847 Apple
,;23142419 Apple
,;23145838 Apple
,;23145856 Apple
,;23145854 Apple
,;23144845 Mango
,;23145624 Mango
,;23145842 Mango
,;23145622 Mango
,;23144842 Mango
,;23144838 Mango
,;23145814 Mango
,;23144837 Mango
,;23145609 Mango
,;23144836 Mango
out Reseult


Attached Files Image(s)
   


Messages In This Thread
How to add a string in this case - by BK - 04-28-2019, 03:34 PM
RE: How to add a string in this case - by Kevin - 04-29-2019, 12:02 AM
RE: How to add a string in this case - by BK - 04-29-2019, 12:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)