I'm looking for a way to split a very long string using this delimiter : '| '
The scan function doesn't seem to accept word delimiter so if I do
scan(string,3,'| ')
it will split at every |
and space
instead of at every '| '
like I need.
In the documentation I don't see any modifier allowing this. http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000214639.htm
|
by_
and then use scan – stallingOne