I have values with following format in a table in sqlite:
AAAAAAAAAA#BBBBBBBBBB AAAA#BBBBBBBBBB AAAAAAAAAAAAAAAAA#BBBBBBBBBBB
I would lik
Never used sqlite but something along the lines of substr(yourfieldname, 1, instr(yourfieldname, '#') -1) should do it.
substr(yourfieldname, 1, instr(yourfieldname, '#') -1)
Please try:
SUBSTR(col,1,INSTR(col,'#') -1)
Can be found at: http://www.sqlite.org/lang_corefunc.html