Forum Discussion
FICO
14 years agoCommunity Manager
Extract String
Extract String Hi All, My input string is BC89RACJ0098457632. I've to extract the string and to store as like A=BC B=89 C=RACJ D=0098457623 and i've to check, whether A & C is a string and ...
FICO
14 years agoCommunity Manager
Hi,
You can use Blaze built-in functtion portable().subString() to achieve this.
mainStr = "BC89RACJ0098457632".
a = portable().subString(mainStr, 1,2).
In this case 'a' will have the value as BC
Similarly the values in b,c,d can be achieved as follows:-
b = portable().subString(mainStr,3,4).
c = portable().subString(mainStr,5,8).
d = portable().subString(mainStr,9,18).
Related Content
Related Content
- 0Views0likes1Comment