diff --git a/docs/userguide/getting-started.md b/docs/userguide/getting-started.md index 49b429bdd..075a111ca 100644 --- a/docs/userguide/getting-started.md +++ b/docs/userguide/getting-started.md @@ -116,7 +116,7 @@ Looks like we need to define the function we want to test. create or replace function betwnstr( a_string varchar2, a_start_pos integer, a_end_pos integer ) return varchar2 is begin - return substr( a_string, l_start_pos, a_end_pos - a_start_pos ); + return substr( a_string, a_start_pos, a_end_pos - a_start_pos ); end; / ``` @@ -149,7 +149,7 @@ The function returned string one character short, so we need to add 1 to the sub create or replace function betwnstr( a_string varchar2, a_start_pos integer, a_end_pos integer ) return varchar2 is begin - return substr( a_string, l_start_pos, a_end_pos - a_start_pos + 1 ); + return substr( a_string, a_start_pos, a_end_pos - a_start_pos + 1 ); end; / ```