Jump to content
WAPT Forum
Sign in to follow this  
Guest Youri

First number of characters of variable

Recommended Posts

Guest Youri

I have a website with an auto complete function. So I've created a list of index words and want to use these as natural as possible. So choose a index word and put it into a variable, then hit the service with the first two chars of that variable, then the first three, the first four, first five.

 

Problem is I cannot find a function to perform some sort of substring function. Is this not available?

 

For now I will create 5 different lists (one for each length) and use the $LRand method.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...