
Creator II
2013-03-22
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isolate everything before space
Hi There,
In my load script, how can I identify everything in the field left of the first space character.
So I might have a name and surname in one field with a space in between, and it can be any number of characters, but I want to isolate just the name.
Thanks,
G
- Tags:
- new_to_qlikview
- trim
10,286 Views
3 Replies

Partner - Champion III
2013-03-22
06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
subfield(MyField,' ',1) will give you the string before the first space in the contents of MyField.
talk is cheap, supply exceeds demand

Creator II
2013-03-22
06:26 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I founf another post explaining this and then un-marked mine as a question - not I can't mark your answer as correct.
But that works perfectly, thanks
7,454 Views


Master II
2013-03-22
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
subfield(fieldname,' ',1) as name
