You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RPL: <#if first_name is one of "Bill", "Bob", "Tom">

Received Response
11
Views
2
Comments

Hey RPL'ers!

In SQL, there's the "IN" syntax, which lets yo say:

"If first_name in ('Bill', 'Bob', 'Tom'), then do_____"

Does an analogous syntax exist in RPL? Or would I have to string together a bunch of "or" statements—like this

<#if FIRST_NAME = "bill" || FIRST_NAME = "bob" || FIRST_NAME = "tom">

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!