I've got errors on below code:
dt << New Column( "Stage",
If( Formula( Substr( :Column 9, 1, 2 ) ) == "CP",
Formula( Left( :Column 9, 3 ) ),
" "
)
);
I want to add a new Col named "Stage" besides a raw Column 9, if starts with CP get the 1st 3 letters else blank, but I've got errors
Unexpected end of input. Perhaps there is a missing "," or ")".
Trying to parse arguments of function "New Column".
Line 207 Column 3: ►
I suspect I use Formula in wrong way, might need help here 
| Column 9 |
Stage |
| NG |
|
| CP2-NAVI12 |
CP2 |
| CP1-NAVI12 |
CP1 |
| NG |
|
| CP2-NAVI12 |
CP2 |