Results 1 to 25 of 61
Thread: Getting delimiter from a line
Jun 20, 2013, 05:32 #1
- Join Date
- May 2008
- 3 Post(s)
- 0 Thread(s)
Getting delimiter from a line
Can someone please tell me the best possible way to find the delimiter from a given line (not including the spaces)?
For our convenience we can assume use the email address to split if necessary. So the very next char (except space) after the email can be our delimiter. But there may be cases where the email address is at last and no delimiter are there.
Some examples are:
jon, doe, email@example.com, 996655
firstname.lastname@example.org; doe; ;996655
jon# doe# 996655# email@example.com
jon doe 96655
jon doe 996655 firstname.lastname@example.org
In ex 4 and 5 above, it should return as no delimiter found.
Any help is appreciated.