From a4aacdb16a5c386147c6e7a2c1c1f47843b3a805 Mon Sep 17 00:00:00 2001 From: Alain Romedenne Date: Tue, 27 Apr 2021 14:03:04 +0200 Subject: document SF_String isIBAN() 7.2 method Change-Id: Icdf0bdc74ea5deced0f31ee01061e46ff8b805f1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114713 Tested-by: Jenkins Reviewed-by: Rafael Lima Reviewed-by: Alain Romedenne --- source/text/sbasic/shared/03/avail_release.xhp | 4 ++-- source/text/sbasic/shared/03/sf_string.xhp | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/source/text/sbasic/shared/03/avail_release.xhp b/source/text/sbasic/shared/03/avail_release.xhp index 29f4bd1f47..0a02b37aa6 100644 --- a/source/text/sbasic/shared/03/avail_release.xhp +++ b/source/text/sbasic/shared/03/avail_release.xhp @@ -28,9 +28,9 @@
These methods are available from %PRODUCTNAME 7.2 onwards.
- +
This control is available from %PRODUCTNAME 7.2 onwards.
diff --git a/source/text/sbasic/shared/03/sf_string.xhp b/source/text/sbasic/shared/03/sf_string.xhp index 80d228c31c..a400c492df 100644 --- a/source/text/sbasic/shared/03/sf_string.xhp +++ b/source/text/sbasic/shared/03/sf_string.xhp @@ -283,6 +283,7 @@ IsFileName
IsHexDigit
+ IsIBAN
IsIPv4
IsLike
IsLower
@@ -711,6 +712,28 @@ +
+ IsIBAN -------------------------------------------------------------------------------------------------------------------------- + + String service;IsIBAN + +

IsIBAN

+ Returns True if the string is a valid International Bank Account Number (IBAN). The comparison is not case-sensitive. + +

+ + SF_String.IsIBAN(InputStr As String) As Boolean + +

+ InputStr: The string to be checked. If empty, the method returns False. +

+ True if the string contains a valid IBAN number. +

+ + MsgBox SF_String.IsIBAN("BR15 0000 0000 0000 1093 2840 814 P2") 'returns True + +
+
IsIPv4 -------------------------------------------------------------------------------------------------------------------------- -- cgit