Skip to content

Commit 12e2f2c

Browse files
author
jeffshumphreys@gmail.com
committed
Fix copied heading to be relevant. Fixed the name to be standardized for RPadC.
1 parent 1be341a commit 12e2f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StringFormat.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.SqlServer.Server;
22
using System.Text.RegularExpressions;
33
/*
4-
* Take measurements from a string. Not actual values from a string as Extract does.
4+
* Formatting may lengthen, reduce, or do nothing to the size of a string. It's more about presentation. Which might put it under Humanization?
55
*/
66
namespace MySQLCLRFunctions
77
{
@@ -39,7 +39,7 @@ public static string LPadC(string input, int length, char character)
3939
*
4040
**************************************************************************************************************************************************************************************/
4141
[SqlFunction(DataAccess = DataAccessKind.None, IsDeterministic = true, IsPrecise = true)]
42-
public static string RPadChar(string input, int length, char character)
42+
public static string RPadC(string input, int length, char character)
4343
{
4444
if (StringTest.IsNull(input)) return input;
4545

0 commit comments

Comments
 (0)