diff --git a/Oberon0.System/Oberon0System.Strings.cs b/Oberon0.System/Oberon0System.Strings.cs index 321b0b2..b37fdae 100644 --- a/Oberon0.System/Oberon0System.Strings.cs +++ b/Oberon0.System/Oberon0System.Strings.cs @@ -48,18 +48,6 @@ public static string ConvertToString(bool value) return value.ToString(CultureInfo.InvariantCulture); } - /// - /// Get string length - /// - /// the value to convert - /// the converted string - [Oberon0Export("Length", "INTEGER", "STRING")] - // ReSharper disable once UnusedMember.Global - public static int Length(string value) - { - return value.Length; - } - /// /// Convert REAL to STRING. /// @@ -86,4 +74,16 @@ public static string ConvertToString(bool value, string trueValue, string falseV { return value ? trueValue : falseValue; } + + /// + /// Get string length + /// + /// the value to convert + /// the converted string + [Oberon0Export("Length", "INTEGER", "STRING")] + // ReSharper disable once UnusedMember.Global + public static int Length(string value) + { + return value.Length; + } } \ No newline at end of file