public static bool ResourcesTextReadStringArray(string _URL, out string[] _Strings, int _StartLine = 0, int _EndLine = -1) { string[] lines = null; string data = ""; bool status = false; #if HEVSAFE (data, status) = AssemblyStringRead(_URL); #endif if (!status) { _Strings = lines; return(false); } lines = HEVText.ToStringArray(data, "\n"); (lines, status) = HEVText.GetStringArrayLines(lines, _StartLine, _EndLine); if (!status) { _Strings = lines; return(false); } _Strings = lines; return(true); }
public static bool FileTextWriteString(string _URL, string _Text, bool _Replace = true) { string[] fileLines = HEVText.ToStringArray(_Text, "\n"); //\r\n Count as double return(FileTextWriteStringArray(_URL, fileLines, _Replace, 0)); }