Back to FabImage Library website

You are here: Start » Function Reference » All Functions » String » SkipEmptyString

SkipEmptyString


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: fil
Module: FoundationLite

If the input string has at least one character, it is copied to the output; otherwise NIL is returned.

Applications: Used before operations that given an empty string would raise a domain error.

Syntax

void fil::SkipEmptyString
(
	const ftl::String& inString,
	ftl::Conditional<ftl::String>& outNotEmptyString,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
Input value
inString const String&
Output value
outNotEmptyString Conditional<String>&
Output value
outIsNotEmpty bool&