Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7918669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:35:22+00:00 2026-06-03T15:35:22+00:00

I need the equivalent of the following sql query: selecting all films with a

  • 0

I need the equivalent of the following sql query:

selecting all films with a title starting with ‘V’ followed with 3 characters and then a space followed by a string (e.g Van Helsing)

SELECT * FROM films WHERE title LIKE ="V__ %";

How can i do this an xpath 1.0 expression in a tree like films/film/title, xpath 1.0 because i’ll use php with xslt.

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:35:23+00:00Added an answer on June 3, 2026 at 3:35 pm

    Is it ok, if string after space can not be presented? Then you can use:

    //title[starts-with(text(), 'V') and string-length(substring-before(text(), ' '))=3]
    

    If presence of string after space is important, then you can use:

    //title[starts-with(text(), 'V') and string-length(substring-before(text(), ' '))=3 and string-length(substring-after(text(), ' '))>0]
    

    From http://www.w3.org/TR/xpath/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a class where I need accomplish the equivalent of the following
I need C# equivalent to Java’s continue ? i have for (String b :
I have the following MySQL query that I'm trying to translate into an equivalent
I need to replicate the following working HQL query using criteria API. session.CreateQuery( select
I need a ruby equivalent for the following python code import array my_array =
I need help converting the following netTcpBinding to an equivalent CustomBinding: <bindings> <netTcpBinding> <binding
I need the DetachedCriteria equivalent to the following HQL: select obj from Objects obj,
Following this question: Shuffling numbers in a map and selecting one. Say you need
What is the F# equivalent of the following C# code? Specifically, I need to
I need help to convert the following Visual Basic statement into a PHP equivalent:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.