• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

String Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/String Functions/StringFind

StringFind

37 views 0 Updated on December 27, 2023 hybrid-solutions

Syntax

Public Function StringFind(stringValue As String, subString As String, Optional startPos As Integer = 1) As Integer

Description

This function is used to search for a sub string in a text of string.

Parameters

Key Description
stringValue String to make searching,value of type String.
subString Searched sub string,value of type Srting.
startPos Start searching position to end string,value of type Integer.

Return value

Returns the position of sub string in a text string. If string not found returns 0.

Sample

Public Sub main()  Dim x  x = "1234567890"AlertMessage stringFind(CSTR(x), "a",1) 'Alert Message will return zeroEnd Sub

See Also

  • StringReplace
  • StringReverse
  • StringSpace

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  StringReplace

StringGetCharacter  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.