Announcement

Collapse
No announcement yet.

String Splitting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    String Splitting

    Hello Guys,

    i try to Split a FString into a Array:

    01:02:03
    To
    Array[0] = 01
    Array[1] = 02
    Array[2] = 03

    How can i do this? I only know the std C++ Version.

    Thanks

    Greetings
    Cybergebi
    Currently Working on a little Project called Vision Runner
    It's a First Person Parkour Game with an In-Game Map Editor.

    Check it out on Steam Greenlight
    http://steamcommunity.com/sharedfile.../?id=211681776

    #2
    TArray<FString> Array;
    FString MyString(TEXT("01:02:03"));
    MyString.ParseIntoArray(&Array, TEXT(":"), true);
    Contact: enlight in #unrealengine IRC channel on Freenode, or @macagonator on Twitter

    Comment


      #3
      Thank you
      Currently Working on a little Project called Vision Runner
      It's a First Person Parkour Game with an In-Game Map Editor.

      Check it out on Steam Greenlight
      http://steamcommunity.com/sharedfile.../?id=211681776

      Comment

      Working...
      X