Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Commit

Permalink
Splitting new lines shouldn't emit \0's anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Dec 9, 2022
1 parent 594028d commit 79d1aac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Extensification/Extensification.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Version>2022.4</Version>
<PackageVersion>2022.4.0.0</PackageVersion>
<Version>2022.4.1</Version>
<PackageVersion>2022.4.1.0</PackageVersion>
<Description>Extensification is an extension pack to .NET Framework that extends your ability to use more functions on strings, integers, and objects. Initially, it started with the string, integer, double, long, dictionary, array, arraylist, and list extensions, and inherited from Kernel Simulator. Over time, it grows with support for more objects.</Description>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
Expand Down
4 changes: 2 additions & 2 deletions Extensification/Texts/String/Querying.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public static bool EndsWithAllOf(this string Str, string[] Values)
/// <returns></returns>
public static string[] SplitNewLines(this string Str)
{
return Str.Replace(Convert.ToChar(13), default).Split(Convert.ToChar(10));
return Str.Replace(Convert.ToChar(13).ToString(), "").Split(Convert.ToChar(10));
}

/// <summary>
Expand All @@ -263,7 +263,7 @@ public static string[] SplitNewLines(this string Str)
/// <returns></returns>
public static string[] SplitNewLinesCr(this string Str)
{
return Str.Replace(Convert.ToChar(10), default).Split(Convert.ToChar(13));
return Str.Replace(Convert.ToChar(10).ToString(), "").Split(Convert.ToChar(13));
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dotnet_csproj:
patch: true
file: '**\*.csproj'
version: ''
package_version: '2022.4.0-build{build}'
package_version: '2022.4.1-build{build}'
assembly_version: ''
file_version: ''
environment:
Expand Down

0 comments on commit 79d1aac

Please sign in to comment.