Results 1 to 3 of 3

Thread: extract from string

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Location
    Bosnia and Herzegovina
    Posts
    65

    extract from string

    Hi,

    I have the following in a string:

    Code:
    1�1268� ��� ������� ������������������� ��� ��� �������2008�10106�263094410008�1G�1�IM�4��������1�1�263094410008����430.00��CH����110-E-963/110-E-694�BA�0�FCA�VELIKA��110-E-963/110-E-694�BA�CHF�9500.00�1�1�30��BAVKL��10104���������������0.00��0.00�4305.54�4�����0�9500.00�CHF�1.223540�1.00000�11623.63�350.00�BAM�1.000000�1.00000�350.00�1.00�BAM�1.000000�1.00000�1.00�80.00�BAM�1.000000�1.00000�80.00����1.00000�0.00�1.00�BAM�1.000000�1.00000�1.00�430.00�12053.63��
    Now what I need it to extract some data from it to a new variable, so for example I get (string1 = 110-E-963/110-E-694) and (string2 = 1.223540)

    The � is always is there and can be used for guide to extract it.

    Any idead?

    thanx
    Adnan

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: extract from string

    So what are you trying to extract from that string that you aren't already getting?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Location
    Bosnia and Herzegovina
    Posts
    65

    Re: extract from string

    Well, all the values can change inside that string. only the � stay there, so for example I need to take out the value "110-E-963/110-E-694" from that string, but that values can change and be something else, I mean I need what is on that location.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width