Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Well, then you should create two fields, one only having the prefix "so" and the other only having the numeric part.
lcValue = "SO403303LM, SO-403303, SO/403303/2017-1?"
lcNumOnly = ""
FOR lnLoopCount = 1 TO LEN(lcValue)
IF BETWEEN(ASC(SUBSTR(lcValue,lnLoopCount,1)),48,57)
lcNumOnly = lcNumOnly+SUBSTR(lcValue,lnLoopCount,1)
ENDIF
ENDFOR
MESSAGEBOX(lcNumOnly)
cStartStr = < your starting string >
IF "/" $ cStartStr
[indent]cFinalStr = STREXTRACT(cStartStr, '/' ) && Get String Between '/' Characters[/indent]
ELSE
[indent]cKeepStr = "0123456789" && Characters to Keep (Numeric Only)[/indent]
[indent]cRemoveStr = CHRTRAN(cStartStr, cKeepStr, "") && Everything to Remove[/indent]
[indent]cFinalStr = CHRTRAN(cStartStr, cRemoveStr, "") && Final String (Numeric String Only)[/indent]
ENDIF