Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Folks,
Why we use sub field in the script ? how does it work in the real world ? what is the syntax for this ? could you please provide few examples?
Anyone can please throw some light on this..
Kind regards,
Verendra.
Subfield() is used to get the some part of the String Data..
Syntax: subfield(s, 'delimiter' [ , index ] )
S - input String
Delimiter : on which Character basis you are trying to get the some part of the string.
Index : After dividing the input string into parts based on Delimiter, which part you required.
Ex:
Let S=abc@def@gh
subfield(S, '@' ,1) returns 'abc'
subfield(S, '@' ,2) returns 'def'
subfield(S, '@' ) returns 'abc'
Thanks a lot Pradeep.
Best regards,
Verendra.