BlogGitHub
Reference/ORK/SINGLETON/ORK/IF_SI_ABAP_STRING_IS
Interface/ORK/IF_SI_ABAP_STRING_IS
ABAP String Functions (Singleton)
Package
/ORK/SINGLETON
Members
3
Description

Provides boolean helper methods for testing strings and string tables.

3 items
Methods
empty
MethodPublic

Checks if a string is empty.

Parameters

NameDescriptionstrInput string to checkresultabap_true if the string is empty, abap_false otherwise

Signature

METHODS empty IMPORTING str TYPE string
                RETURNING VALUE(result) TYPE abap_bool.
whitespace_or_empty
MethodPublic

Checks if a string is empty or consists only of whitespace characters.

Parameters

NameDescriptionstrInput string to checkresultabap_true if the string is empty or all characters are whitespace, abap_false otherwise

Signature

METHODS whitespace_or_empty IMPORTING str TYPE string
                              RETURNING VALUE(result) TYPE abap_bool.
whitespace_or_empty_tab
MethodPublic

Checks if all strings in a table are empty or consist only of whitespace characters.

Parameters

NameDescriptiontextsTable of strings to checkresultabap_true if all strings are empty or whitespace, abap_false otherwise

Signature

METHODS whitespace_or_empty_tab IMPORTING texts TYPE string_table
                                  RETURNING VALUE(result) TYPE abap_bool.
Repository11 packages · 113 objects
124 items