Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split

Status
Not open for further replies.
Apr 14, 2004
22
US
Hi,

I have a memo field that has a value - ©1st Time User©©Special Need©©TFA©

I need to split the value to say

©1st Time User©
©Special Need©
©TFA©

Thank you

 
Code:
public function SplitFunction(value as string) as string
  dim ReturnValue as string 
  dim sValues() as string = split(value, "©")
  dim sValue as string

  for each sValue in sValues
    ReturnValue &= "©" & sValue & "©" & controlchars.crlf
  next
  
  return ReturnValue
end function

Just one of many ways.

-Rick

----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top