/// <summary> /// Splits this string at given string position case sensitive. /// @param InStr The string to search and split at /// @param LeftS out the string to the left of InStr, not updated if return is false /// @param RightS out the string to the right of InStr, not updated if return is false /// @param SearchCase Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase ) /// @param SearchDir Indicates whether the search starts at the begining or at the end ( defaults to ESearchDir::FromStart ) /// @return true if string is split, otherwise false /// </summary> public extern static bool Split(FString SourceString, FString InStr, out FString LeftS, out FString RightS, ESearchCase SearchCase = ESearchCase.IgnoreCase, ESearchDir SearchDir = ESearchDir.FromStart);
/// <summary> /// Splits this string at given string position case sensitive. /// @param InStr The string to search and split at /// @param LeftS out the string to the left of InStr, not updated if return is false /// @param RightS out the string to the right of InStr, not updated if return is false /// @param SearchCase Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase ) /// @param SearchDir Indicates whether the search starts at the begining or at the end ( defaults to ESearchDir::FromStart ) /// @return true if string is split, otherwise false /// </summary> public static bool Split(string SourceString, string InStr, out string LeftS, out string RightS, ESearchCase SearchCase = ESearchCase.IgnoreCase, ESearchDir SearchDir = ESearchDir.FromStart) { int ___ret = Split(IntPtr.Zero, SourceString, InStr, out LeftS, out RightS, (int)SearchCase, (int)SearchDir); return(___ret != 0); }