Skip to Content
0
Former Member
May 18, 2005 at 08:48 PM

Split String At Index Position?

6065 Views

I have searched the documentation but I can't find what I'm looking for.

I have a string which i want to split into 2 strings at position x.

For example, splitting 'abcdef' at position 3 (if the index starts at 1) would result in two strings: 'ab' and 'cdef'. It doesn't matter to me if position 3 gets put in the first or second string.

Thanks.