toActiveSpaceOrNoFilter

fun String?.toActiveSpaceOrNoFilter(): SpaceFilter

Return a SpaceFilter.ActiveSpace if the String is not null, or SpaceFilter.NoFilter.