All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Exit
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Home
ColdFusion
Discussions
Pull data from a large field?
Home
ColdFusion
Discussions
Pull data from a large field?
0
Upvote
Pull data from a large field?
Danny_Bonnadouche
New Here
,
/t5/coldfusion-discussions/pull-data-from-a-large-field/td-p/103016
Sep 05, 2008
Sep 05, 2008
Copy link to clipboard
Copied
I have a variable which contins: MEISTER 56767 CB5-325-3-M-84-55 IGE 60DEG 6.5MMX14/M4.5 (G-213 MOD); FSP100:034250006500001; FSP200:RSRV-189
I need to get the FSP100:034250006500001
It's always prefixed with FSP but is in a different place each time. How would I go about getting that out of my variable?
TOPICS
Advanced techniques
Views
492
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
3 Replies
3
Jump to latest reply
SafariTECH
Engaged
,
/t5/coldfusion-discussions/pull-data-from-a-large-field/m-p/103017#M10035
Sep 05, 2008
Sep 05, 2008
Copy link to clipboard
Copied
Assuming you only want the FSP100 and not the FSP200...
Try "ListContains" along with "FSP100:" as the criteria and semi-colons as the delimiter
It will tell you what position in the list it is found, then use ListGetAt to pull that list record
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
-__cfSearching__-
Valorous Hero
,
/t5/coldfusion-discussions/pull-data-from-a-large-field/m-p/103018#M10036
Sep 05, 2008
Sep 05, 2008
Copy link to clipboard
Copied
Danny Bonnadouche wrote:
> How would I go about getting that out of my variable?
Is this also your question here ?
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1390530&ente...
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BKBK
Community Expert
,
/t5/coldfusion-discussions/pull-data-from-a-large-field/m-p/103019#M10037
Sep 06, 2008
Sep 06, 2008
Copy link to clipboard
Copied
LATEST
There is an answer in your other post. Davidsimms has effectively wriiten the code for you. Don't double-post.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide