• Post Reply Bookmark Topic Watch Topic
  • New Topic

GetSlectedValueItems return []

 
guillermo Hampp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i select the item in list1, to copy to lis2t, the result is: each item with breaks [numeItem], but i want this numItem without brackets

gg.png
[Thumbnail for gg.png]
Here is the output
 
Campbell Ritchie
Marshal
Posts: 52519
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

How are you displaying that output? Are you simply printing a List? Lists print with [] as a default.
 
guillermo Hampp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!!

Is a simple List<String>
can i delete breaks print?
 
Campbell Ritchie
Marshal
Posts: 52519
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can iterate the List or create a Stream from it and print the elements. That way you can choose your own formatting with or without [].
 
guillermo Hampp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!, this is the way how i do

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!