diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs
index 992e2e54431..05aa1aff8ec 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs
@@ -89,6 +89,7 @@ namespace Godot
/// The string to check.
/// The beginning string.
/// If the string begins with the given string.
+ [Obsolete("Use string.StartsWith instead.")]
public static bool BeginsWith(this string instance, string text)
{
return instance.StartsWith(text);
@@ -405,6 +406,7 @@ namespace Godot
///
/// Returns if the string is empty.
///
+ [Obsolete("Use string.IsNullOrEmpty instead.")]
public static bool Empty(this string instance)
{
return string.IsNullOrEmpty(instance);
@@ -417,6 +419,7 @@ namespace Godot
/// The string to check.
/// The ending string.
/// If the string ends with the given string.
+ [Obsolete("Use string.EndsWith instead.")]
public static bool EndsWith(this string instance, string text)
{
return instance.EndsWith(text);
@@ -428,6 +431,7 @@ namespace Godot
/// The string to modify.
/// Starting position from which to erase.
/// Amount of characters to erase.
+ [Obsolete("Use StringBuilder.Remove instead.")]
public static void Erase(this StringBuilder instance, int pos, int chars)
{
instance.Remove(pos, chars);
@@ -740,6 +744,7 @@ namespace Godot
/// The string with inserted at the given
/// position .
///
+ [Obsolete("Use string.Insert instead.")]
public static string Insert(this string instance, int pos, string what)
{
return instance.Insert(pos, what);
@@ -974,6 +979,7 @@ namespace Godot
///
/// The string to check.
/// The length of the string.
+ [Obsolete("Use string.Length property instead.")]
public static int Length(this string instance)
{
return instance.Length;
@@ -986,6 +992,7 @@ namespace Godot
/// The string to remove characters from.
/// The characters to be removed.
/// A copy of the string with characters removed from the left.
+ [Obsolete("Use string.TrimStart property instead.")]
public static string LStrip(this string instance, string chars)
{
int len = instance.Length;
@@ -1120,6 +1127,7 @@ namespace Godot
/// The string to check.
/// The position int the string for the character to check.
/// The character code.
+ [Obsolete("Use string[int] indexer instead.")]
public static int OrdAt(this string instance, int at)
{
return instance[at];
@@ -1321,6 +1329,7 @@ namespace Godot
/// The string to remove characters from.
/// The characters to be removed.
/// A copy of the string with characters removed from the right.
+ [Obsolete("Use string.TrimEnd property instead.")]
public static string RStrip(this string instance, string chars)
{
int len = instance.Length;
@@ -1560,6 +1569,7 @@ namespace Godot
///
/// The string to convert.
/// The string converted to lowercase.
+ [Obsolete("Use string.ToLower instead.")]
public static string ToLower(this string instance)
{
return instance.ToLower();
@@ -1571,6 +1581,7 @@ namespace Godot
///
/// The string to convert.
/// The string converted to uppercase.
+ [Obsolete("Use string.ToUpper instead.")]
public static string ToUpper(this string instance)
{
return instance.ToUpper();