Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
bradley hanson wrote:
>
> I need to split a character field into two parts.. could anyone give me
> advice on the best way to go about this?
>
> thanks!
Try
let var1 = field[1,60]
let var2 = field[61,120]
If you need to split by context, rather than position, just
use a function to find a position to split the field at.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.