sql - Extract string between period delimiter -


i need extract p4534 string below in sql. length between 2 periods can change. need account longer strings between 2 periods when doing substring. how can start @ different position?

<?xml version="1.0" encoding="utf-8"?><mydata>9.9.p4534.2.3</mydata> 

the at() function returns integer indicating position of first character character expression.

store '9.9.p4534.2.3' gcstring store 'p4534' gcfindstring substring(gcstring, at(gcfindstring,gcstring), 5) 

Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -