I have a table called Person
, and a NVarChar
column called Notes
.
The Notes
column has a lot of text in it, but always begins with a number of some kind, with /
's inserted throughout.
For example:
1/23 some text
45/678/9%*&^%$#@
02/468/ some other text
I need to select the first character position that isn't a digit or /
.
I don't care whether the position is 0-based or 1-based; I can accommodate that after the fact.
In this example, if I'm using 1-based character positions, the selection should produce the following:
5
9
8