# Separating multi word valuelist items

**URL:** <https://forum.servoy.com/t/separating-multi-word-valuelist-items/6481>\
**Category:** Classic Servoy\
**Created:** [September 21, 2006, 8:54pm UTC](https://forum.servoy.com/t/separating-multi-word-valuelist-items/6481 "2006-09-21T20:54:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [September 21, 2006, 8:54pm UTC](https://forum.servoy.com/t/separating-multi-word-valuelist-items/6481/1 "2006-09-21T20:54:09Z")

</div>

Servoy Developer  
Version R2 2.2.5-build 337  
Java version 1.5.0\_06-64 (Mac OS X)

I have a dataprovider which is formatted as a CheckBox from a valuelist

The value list items have multiple word entries separated with spaces for example as follows:  
Gluten Free  
Milk Free  
Lactose Free

The data is stored on an external web server and administered by in house Servoy solution.

The client now needs to be able to parse each VL item out at the web end but in the column they are stored as :  
Gluten Free Lactose Free

So each entry has a space and each multi word has a space so I need to potentially create a result from the original field of :  
‘Gluten Free|Lactose Free’

This will give me a delimiter that can be parsed easily

So how do I convert the original entry to one which has the necessary delimiters ?

Cheers  
Harry

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [September 21, 2006, 10:31pm UTC](https://forum.servoy.com/t/separating-multi-word-valuelist-items/6481/2 "2006-09-21T22:31:19Z")

</div>

Hmm, it can be the time or the fact that I am working towards Servoy World but I think I miss your point. Do you want to compare strings? If so use a regex ![:)]( "Smile")
